Fixed crash from Cache accessing the global variable $Store instead of the class Store

This commit is contained in:
2021-11-25 19:53:06 -06:00
parent 4e30075f6b
commit 935aed1a7a
3 changed files with 9 additions and 8 deletions

View File

@@ -174,10 +174,10 @@ class W3DHub
next if file.removed? # No package data
if file.patch?
fail!("#{@application.name} requires patches. Patching is not yet supported.")
break
end
# if file.patch?
# fail!("#{@application.name} requires patches. Patching is not yet supported.")
# break
# end
next if packages.detect do |pkg|
pkg.category == "games" &&
@@ -186,7 +186,8 @@ class W3DHub
pkg.version == manifest.version
end
packages.push(Api::Package.new(
packages.push(
Api::Package.new(
{ category: "games", subcategory: @app_id, name: file.package, version: manifest.version }
)
)