mirror of
https://github.com/TimeCrafters/timecrafters_configuration_tool_desktop.git
synced 2025-12-15 21:32:35 +00:00
Added logo, added Boot screen, renamed dump_config packet to upload_config, misc changes and UX improvements
This commit is contained in:
@@ -41,12 +41,14 @@ module TAC
|
||||
|
||||
def upload_config
|
||||
if @tacnet.connected?
|
||||
@tacnet.puts(TAC::TACNET::PacketHandler.packet_dump_config(json))
|
||||
json = JSON.dump(@config)
|
||||
@tacnet.puts(TAC::TACNET::PacketHandler.packet_upload_config(json))
|
||||
end
|
||||
end
|
||||
|
||||
def download_config
|
||||
if @tacnet.connected?
|
||||
@tacnet.puts(TAC::TACNET::PacketHandler.packet_download_config)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user