From eb51ec80231cf13accf8af156fa7a4283e2a2f88 Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Thu, 30 Jul 2026 21:09:27 -0400 Subject: fix: harden lsfg-v2 migration and flatpak support --- py_modules/lsfg_vk/configuration.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'py_modules/lsfg_vk/configuration.py') diff --git a/py_modules/lsfg_vk/configuration.py b/py_modules/lsfg_vk/configuration.py index 446ac3a..6511745 100644 --- a/py_modules/lsfg_vk/configuration.py +++ b/py_modules/lsfg_vk/configuration.py @@ -18,10 +18,9 @@ class ConfigurationService(BaseService): @staticmethod def _profile_selection_lines(profile_name: str, config: ConfigurationData) -> list[str]: - """Use native matching when a selected profile declares active_in.""" - active_in = str(config.get("active_in", "")).strip() - if active_in: - return ["# active_in is configured; lsfg-vk will select a matching profile automatically."] + """Force the selected profile unless the user explicitly opts into native matching.""" + if config.get("use_native_matching", False): + return ["# lsfg-vk will select a matching profile from Active In."] return [f"export LSFGVK_PROFILE={shlex.quote(profile_name)}"] def get_config(self) -> ConfigurationResponse: -- cgit v1.2.3