From 2cd745e7d67b6c768c455e875263bb8a5e6c9372 Mon Sep 17 00:00:00 2001 From: Lx32 Date: Sun, 19 Nov 2023 13:09:05 +0100 Subject: [PATCH] Update for flatpak Update for flatpak steam use, added modified command for spawning inside the host --- functions/steam-sync/steam-sync.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/functions/steam-sync/steam-sync.py b/functions/steam-sync/steam-sync.py index 80823694..cb4ed55f 100644 --- a/functions/steam-sync/steam-sync.py +++ b/functions/steam-sync/steam-sync.py @@ -287,6 +287,10 @@ def create_shortcut(games, launch_config_name=None): else: shortcuts = [] + if ".var/app/com.valvesoftware.Steam" in shortcut_path: + for game in games: + game[1]="flatpak-spawn --host "+game[1] + old_shortcuts=[] for shortcut in shortcuts: if "net.retrodeck.retrodeck" in shortcut["Exe"]: