[core] Do not attempt to load overlay info on non-Windows systems

This commit is contained in:
derrod 2021-12-29 11:32:11 +01:00
parent bc1c27b8d2
commit 0e4ab85b2f

View file

@ -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