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/config_schema.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'py_modules/lsfg_vk/config_schema.py') diff --git a/py_modules/lsfg_vk/config_schema.py b/py_modules/lsfg_vk/config_schema.py index 86e8be7..92a74a3 100644 --- a/py_modules/lsfg_vk/config_schema.py +++ b/py_modules/lsfg_vk/config_schema.py @@ -105,10 +105,9 @@ class ConfigurationManager: if not path_value: return "" path = Path(path_value) - if path.name.lower() != "lossless.dll": - return path_value - replacement = path.with_name("lsfg-vk.dll") - return str(replacement) if replacement.exists() else "" + if path.name.lower() in {"lossless.dll", "losslessscaling.dll"}: + return str(path.with_name("lsfg-vk.dll")) + return path_value @staticmethod def _config_from_profile(profile: Dict[str, Any], global_config: Dict[str, Any]) -> Dict[str, Any]: -- cgit v1.2.3