mirror of
https://github.com/lutris/lutris
synced 2024-10-14 19:53:53 +00:00
Check for the appid before loading extras.
You can have a GOG game off the Lutris website that does not download from GOG - you provide the installer file. "Alient Shooter" is one of these. In this case, we have no appid and can get no extras, and we should not try to get them.
This commit is contained in:
parent
f56f4dd0e4
commit
2b8703346a
|
@ -201,7 +201,7 @@ class ScriptInterpreter(GObject.Object, CommandsMixin):
|
||||||
|
|
||||||
def get_extras(self):
|
def get_extras(self):
|
||||||
"""Get extras and store them to move them at the end of the install"""
|
"""Get extras and store them to move them at the end of the install"""
|
||||||
if not self.service or not self.service.has_extras:
|
if not self.service or not self.service.has_extras or not self.installer.service_appid:
|
||||||
return []
|
return []
|
||||||
return self.service.get_extras(self.installer.service_appid)
|
return self.service.get_extras(self.installer.service_appid)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue