mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-16 01:02:34 +00:00
Don't attempt to generate app icon if the package's details has an error
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user