mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-16 01:02:34 +00:00
Removed window as central storage, added Store class to be central memory store
This commit is contained in:
@@ -14,7 +14,7 @@ class W3DHub
|
||||
para "<b>App Install Folder</b>", width: 0.249
|
||||
|
||||
stack(width: 0.75, height: 1.0) do
|
||||
edit_line window.settings[:app_install_dir], width: 1.0
|
||||
edit_line Store.settings[:app_install_dir], width: 1.0
|
||||
inscription "The folder into which new games and apps will be installed by the launcher"
|
||||
end
|
||||
end
|
||||
@@ -23,7 +23,7 @@ class W3DHub
|
||||
para "<b>Package Cache Folder</b>", width: 0.249
|
||||
|
||||
stack(width: 0.75, height: 1.0) do
|
||||
edit_line window.settings[:package_cache_dir], width: 1.0
|
||||
edit_line Store.settings[:package_cache_dir], width: 1.0
|
||||
inscription "A folder which will be used to cache downloaded packages used to install games and apps"
|
||||
end
|
||||
end
|
||||
@@ -34,7 +34,7 @@ class W3DHub
|
||||
inscription "If this is enabled the launcher will automatically report errors to the development team, along with basic information about your machine, such as operating system.", width: 1.0
|
||||
|
||||
button "Save", margin_top: 32 do
|
||||
window.settings.save_settings
|
||||
Store.settings.save_settings
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user