1
0
Fork 0
mirror of synced 2024-05-18 19:42:54 +12:00

Lgndr: Disable legendary's update checks and ignore config file options

This commit is contained in:
loathingKernel 2023-12-16 16:23:58 +02:00
parent bfa2335551
commit b93435d920
No known key found for this signature in database
GPG key ID: CE0C72D0B53821FD
2 changed files with 8 additions and 1 deletions

View file

@ -58,6 +58,12 @@ class LegendaryCore(LegendaryCoreReal):
usr_platform = self.lgd.config.get("Legendary", "default_platform", fallback=os_default)
return usr_platform if usr_platform in ("Windows", "Win32", "Mac") else os_default
def update_check_enabled(self):
return False
def update_notice_enabled(self):
return False
# skip_sync defaults to false but since Rare is persistent, skip by default
# def get_installed_game(self, app_name, skip_sync=True) -> InstalledGame:
# return super(LegendaryCore, self).get_installed_game(app_name, skip_sync)

View file

@ -166,7 +166,8 @@ class RareCore(QObject):
self.__core.lgd.config.set(
"Legendary", "mac_install_dir", self.__core.get_default_install_dir(self.__core.default_platform)
)
# Always set this to avoid falling back
# Always set these options
# Avoid falling back to Windows games on macOS
self.__core.lgd.config.set("Legendary", "install_platform_fallback", 'false')
# workaround if egl sync enabled, but no programdata_path