diff options
| author | Janleyx <242423638+Janleyx@users.noreply.github.com> | 2026-07-18 10:20:20 -0400 |
|---|---|---|
| committer | Janleyx <242423638+Janleyx@users.noreply.github.com> | 2026-07-18 10:20:20 -0400 |
| commit | ecfa0b53cff8072b47cbb5911b90aa4fa11d9927 (patch) | |
| tree | 9b05626daceb691cdfa2e5306274f0297306d84c /py_modules/lsfg_vk/plugin.py | |
| parent | cac8919cbb91aa6ca332d5fadb4155803069ce1e (diff) | |
| download | decky-lsfg-vk-ecfa0b53cff8072b47cbb5911b90aa4fa11d9927.tar.gz decky-lsfg-vk-ecfa0b53cff8072b47cbb5911b90aa4fa11d9927.zip | |
preserve Armada game launch wrapper
Diffstat (limited to 'py_modules/lsfg_vk/plugin.py')
| -rw-r--r-- | py_modules/lsfg_vk/plugin.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/py_modules/lsfg_vk/plugin.py b/py_modules/lsfg_vk/plugin.py index cb59b4f..2cb08f4 100644 --- a/py_modules/lsfg_vk/plugin.py +++ b/py_modules/lsfg_vk/plugin.py @@ -18,6 +18,7 @@ from .dll_detection import DllDetectionService from .configuration import ConfigurationService from .config_schema import ConfigurationManager from .flatpak_service import FlatpakService +from .constants import ARMADA_GAME_LAUNCH class Plugin: @@ -255,6 +256,13 @@ class Plugin: Returns: Dict containing the launch option string and instructions """ + if ARMADA_GAME_LAUNCH.is_file(): + return { + "launch_option": f"~/lsfg {ARMADA_GAME_LAUNCH} %command%", + "instructions": "Use this combined command in Steam Properties, preserving Armada's game-launch wrapper", + "explanation": "LSFG sets its environment first, then Armada applies the game's FEX profile and launches Proton" + } + return { "launch_option": "~/lsfg %command%", "instructions": "Add this to your game's launch options in Steam Properties", |
