mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 01:45:28 +00:00
[core] Do not attempt to load overlay info on non-Windows systems
This commit is contained in:
parent
bc1c27b8d2
commit
0e4ab85b2f
|
@ -1703,6 +1703,8 @@ class LegendaryCore:
|
|||
self.overlay_update_available = version_info['buildVersion'] != installed.version
|
||||
|
||||
def is_overlay_installed(self):
|
||||
if os.name != 'nt':
|
||||
return False
|
||||
return self.lgd.get_overlay_install_info() is not None
|
||||
|
||||
@staticmethod
|
||||
|
|
Loading…
Reference in a new issue