Update for flatpak

Update for flatpak steam use, added modified command for spawning inside the host
This commit is contained in:
Lx32 2023-11-19 13:09:05 +01:00 committed by GitHub
parent d4b2b645fa
commit 2cd745e7d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"]: