diff --git a/lutris/runtime.py b/lutris/runtime.py index 18bb3aa71..f518b48d7 100644 --- a/lutris/runtime.py +++ b/lutris/runtime.py @@ -448,6 +448,11 @@ class ProtonComponentUpdater(RuntimeExtractedComponentUpdater): super().__init__(remote_runtime_info) self.proton_dir = os.path.join(settings.RUNNER_DIR, "proton") + @property + def should_update(self) -> bool: + wine_dir = os.path.join(settings.RUNNER_DIR, "wine") + return os.path.isdir(wine_dir) and super().should_update + @property def local_runtime_path(self) -> str: """Return the local path for the runtime folder"""