From 9cd2149c45db1fa02edc7280c8d71d536c8ef44e Mon Sep 17 00:00:00 2001 From: Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com> Date: Sat, 5 Sep 2026 17:54:10 -0400 Subject: fix: preserve migrated v2 dll paths --- py_modules/lsfg_vk/installation.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'py_modules/lsfg_vk/installation.py') diff --git a/py_modules/lsfg_vk/installation.py b/py_modules/lsfg_vk/installation.py index ba2c4fe..0566d6b 100644 --- a/py_modules/lsfg_vk/installation.py +++ b/py_modules/lsfg_vk/installation.py @@ -128,9 +128,10 @@ class InstallationService(BaseService): from .dll_detection import DllDetectionService - dll_result = DllDetectionService(self.log).check_lossless_scaling_dll() - if dll_result.get("detected") and dll_result.get("path"): - profile_data["global_config"]["dll"] = dll_result["path"] + if not profile_data["global_config"].get("dll"): + dll_result = DllDetectionService(self.log).check_lossless_scaling_dll() + if dll_result.get("detected") and dll_result.get("path"): + profile_data["global_config"]["dll"] = dll_result["path"] defaults = dict(ConfigurationManager.get_defaults()) for profile_name, raw_profile in list(profile_data["profiles"].items()): -- cgit v1.2.3