diff options
| author | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2026-09-10 12:19:40 -0400 |
|---|---|---|
| committer | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2026-09-10 12:19:40 -0400 |
| commit | 9902135e53be129bd6096d51d5e510ab298c1ae2 (patch) | |
| tree | c485842306670cb123fb98c32d32a24bc91db3dc /py_modules/lsfg_vk/steam_service.py | |
| parent | 670f36e8cc75da9c8b1b174c24e722657bbf2a56 (diff) | |
| download | decky-lsfg-vk-9902135e53be129bd6096d51d5e510ab298c1ae2.tar.gz decky-lsfg-vk-9902135e53be129bd6096d51d5e510ab298c1ae2.zip | |
fix: handle bare Flatpak shortcut targets
Diffstat (limited to 'py_modules/lsfg_vk/steam_service.py')
| -rw-r--r-- | py_modules/lsfg_vk/steam_service.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py_modules/lsfg_vk/steam_service.py b/py_modules/lsfg_vk/steam_service.py index 201441e..a952fcb 100644 --- a/py_modules/lsfg_vk/steam_service.py +++ b/py_modules/lsfg_vk/steam_service.py @@ -35,7 +35,7 @@ def classify_shortcut_transport(executable: Optional[str], launch_options: Optio option_tokens = _split_command(launch_options) if executable_tokens is None or option_tokens is None or not executable_tokens: return {"kind": "host"} - direct_flatpak = executable_tokens[0] == "/usr/bin/flatpak" + direct_flatpak = executable_tokens[0] in {"flatpak", "/usr/bin/flatpak"} managed_wrapper = len(executable_tokens) == 1 and _is_managed_wrapper(executable_tokens[0]) if not direct_flatpak and not managed_wrapper: return {"kind": "host"} |
