mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2026-09-20 07:13:52 +00:00
Settings are now set
This commit is contained in:
@@ -22,6 +22,11 @@ module W3DHubLauncher
|
||||
def self.settings
|
||||
end
|
||||
|
||||
# returns raw json of launcher settings
|
||||
def self.load_settings(&block)
|
||||
Worker::Request.new(:load_settings, "", &block)
|
||||
end
|
||||
|
||||
# write updated launcher settings
|
||||
def self.update_settings(settings, &block)
|
||||
Worker::Request.new(:update_settings, settings.to_json, &block)
|
||||
|
||||
Reference in New Issue
Block a user