diff options
| author | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2026-09-07 20:57:26 -0400 |
|---|---|---|
| committer | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2026-09-07 20:57:26 -0400 |
| commit | 54acc36f16e1336772354f979a618cce65061f82 (patch) | |
| tree | 9aae51351de2468277b3392b984e5caa99c271b4 /py_modules/lsfg_vk/installation.py | |
| parent | e21eee83fc58fee3481aa0e17feb7cd9a8d8750e (diff) | |
| download | decky-lsfg-vk-54acc36f16e1336772354f979a618cce65061f82.tar.gz decky-lsfg-vk-54acc36f16e1336772354f979a618cce65061f82.zip | |
refactor: make runtime installation explicit
Diffstat (limited to 'py_modules/lsfg_vk/installation.py')
| -rw-r--r-- | py_modules/lsfg_vk/installation.py | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/py_modules/lsfg_vk/installation.py b/py_modules/lsfg_vk/installation.py index 09bd3a3..b583cc7 100644 --- a/py_modules/lsfg_vk/installation.py +++ b/py_modules/lsfg_vk/installation.py @@ -171,30 +171,6 @@ class InstallationService(BaseService): for path in (self.legacy_lib_file, self.legacy_json_file): self._remove_if_exists(path) - def needs_v2_migration(self) -> bool: - legacy_layer = self.legacy_lib_file.exists() or self.legacy_json_file.exists() - legacy_config = False - if self.config_file_path.exists(): - try: - legacy_config = ConfigurationManager.is_legacy_v1( - self.config_file_path.read_text(encoding="utf-8") - ) - except OSError: - legacy_config = False - if legacy_layer or legacy_config: - return True - try: - if self.config_file_path.exists(): - data = ConfigurationManager.parse_toml_content_multi_profile( - self.config_file_path.read_text(encoding="utf-8") - ) - configured = str(data["global_config"].get("dll") or "") - if (not configured or not Path(configured).is_file()) and self.steam_service.find_lsfg_vk_dll(): - return True - return not self.runtime_service.is_healthy() - except Exception: - return True - def check_installation(self) -> InstallationCheckResponse: try: installation_error = None |
