Don't attempt to generate app icon if the package's details has an error

This commit is contained in:
2025-04-23 23:34:39 -05:00
parent 1818d8bec9
commit 696c30aa63

View File

@@ -189,6 +189,8 @@ class W3DHub
package_details ||= nil
package_details&.each do |package|
next if package.error?
path = Cache.package_path(package.category, package.subcategory, package.name, package.version)
generated_icon_path = "#{GAME_ROOT_PATH}/media/icons/#{package.subcategory}.png"