Lgndr: Disable legendary's update checks and ignore config file options
This commit is contained in:
parent
bfa2335551
commit
b93435d920
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue