mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 15:35:38 +00:00
Update for flatpak
Update for flatpak steam use, added modified command for spawning inside the host
This commit is contained in:
parent
d4b2b645fa
commit
2cd745e7d6
|
@ -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"]:
|
||||
|
|
Loading…
Reference in a new issue