mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-16 01:02:34 +00:00
Fixed crash from Cache accessing the global variable $Store instead of the class Store
This commit is contained in:
@@ -34,13 +34,13 @@ class W3DHub
|
||||
end
|
||||
|
||||
def self.package_path(category, subcategory, name, version)
|
||||
package_cache_dir = $Store.settings[:package_cache_dir]
|
||||
package_cache_dir = Store.settings[:package_cache_dir]
|
||||
|
||||
"#{package_cache_dir}/#{category}/#{subcategory}/#{version}/#{name}.package"
|
||||
end
|
||||
|
||||
def self.install_path(application, channel)
|
||||
app_install_dir = $Store.settings[:app_install_dir]
|
||||
app_install_dir = Store.settings[:app_install_dir]
|
||||
|
||||
"#{app_install_dir}/#{application.category}/#{application.id}/#{channel.id}"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user