mirror of
https://github.com/TimeCrafters/timecrafters_configuration_tool_desktop.git
synced 2025-12-16 13:52:34 +00:00
Compare commits
2 Commits
4bdc12ce46
...
49133bb49d
| Author | SHA1 | Date | |
|---|---|---|---|
| 49133bb49d | |||
| 8aaed6bc8d |
4
Gemfile
4
Gemfile
@@ -5,5 +5,5 @@ gem "gosu_notifications"
|
|||||||
|
|
||||||
group :packaging do
|
group :packaging do
|
||||||
gem "ocra"
|
gem "ocra"
|
||||||
gem "releasy"
|
gem "releasy", github: "gosu/releasy"
|
||||||
end
|
end
|
||||||
|
|||||||
33
Gemfile.lock
33
Gemfile.lock
@@ -1,23 +1,28 @@
|
|||||||
GEM
|
GIT
|
||||||
remote: https://rubygems.org/
|
remote: https://github.com/gosu/releasy.git
|
||||||
|
revision: e8a24c079c4930c6ddbab17fc444027ba41491ca
|
||||||
specs:
|
specs:
|
||||||
cri (2.1.0)
|
|
||||||
cyberarm_engine (0.23.0)
|
|
||||||
excon (~> 0.88)
|
|
||||||
gosu (~> 1.1)
|
|
||||||
gosu_more_drawables (~> 0.3)
|
|
||||||
excon (0.104.0)
|
|
||||||
gosu (1.4.6)
|
|
||||||
gosu_more_drawables (0.3.1)
|
|
||||||
gosu_notifications (0.1.0)
|
|
||||||
ocra (1.3.11)
|
|
||||||
rake (13.1.0)
|
|
||||||
releasy (0.2.3)
|
releasy (0.2.3)
|
||||||
bundler (>= 1.2.1)
|
bundler (>= 1.2.1)
|
||||||
cri (~> 2.1.0)
|
cri (~> 2.1.0)
|
||||||
ocra (~> 1.3.0)
|
ocra (~> 1.3.0)
|
||||||
rake (>= 0.9.2.2)
|
rake (>= 0.9.2.2)
|
||||||
|
|
||||||
|
GEM
|
||||||
|
remote: https://rubygems.org/
|
||||||
|
specs:
|
||||||
|
cri (2.1.0)
|
||||||
|
cyberarm_engine (0.24.0)
|
||||||
|
excon (~> 0.88)
|
||||||
|
gosu (~> 1.1)
|
||||||
|
gosu_more_drawables (~> 0.3)
|
||||||
|
excon (0.105.0)
|
||||||
|
gosu (1.4.6)
|
||||||
|
gosu_more_drawables (0.3.1)
|
||||||
|
gosu_notifications (0.1.0)
|
||||||
|
ocra (1.3.11)
|
||||||
|
rake (13.1.0)
|
||||||
|
|
||||||
PLATFORMS
|
PLATFORMS
|
||||||
x64-mingw-ucrt
|
x64-mingw-ucrt
|
||||||
x64-mingw32
|
x64-mingw32
|
||||||
@@ -27,7 +32,7 @@ DEPENDENCIES
|
|||||||
cyberarm_engine
|
cyberarm_engine
|
||||||
gosu_notifications
|
gosu_notifications
|
||||||
ocra
|
ocra
|
||||||
releasy
|
releasy!
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
2.4.3
|
2.4.3
|
||||||
|
|||||||
@@ -170,7 +170,7 @@ module TAC
|
|||||||
button get_image("#{TAC::MEDIA_PATH}/icons/import.png"), image_width: THEME_ICON_SIZE, tip: "Import action from preset" do
|
button get_image("#{TAC::MEDIA_PATH}/icons/import.png"), image_width: THEME_ICON_SIZE, tip: "Import action from preset" do
|
||||||
if @active_group
|
if @active_group
|
||||||
push_state(Dialog::PickPresetDialog, title: "Pick Action Preset", limit: :actions, callback_method: proc { |preset|
|
push_state(Dialog::PickPresetDialog, title: "Pick Action Preset", limit: :actions, callback_method: proc { |preset|
|
||||||
push_state(Dialog::ActionDialog, title: "Name Action", action: preset, accept_label: "Add", list: @active_group.actions, callback_method: proc { |action, name, comment|
|
push_state(Dialog::ActionDialog, title: "Name Action", action: preset, cloning: true, accept_label: "Add", list: @active_group.actions, callback_method: proc { |action, name, comment|
|
||||||
clone = TAC::Config::Action.from_json( JSON.parse( action.to_json, symbolize_names: true ))
|
clone = TAC::Config::Action.from_json( JSON.parse( action.to_json, symbolize_names: true ))
|
||||||
clone.name = name.to_s
|
clone.name = name.to_s
|
||||||
clone.comment = comment.to_s
|
clone.comment = comment.to_s
|
||||||
|
|||||||
Reference in New Issue
Block a user