Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dragoonDorise committed Dec 26, 2024
1 parent 9abfc60 commit ce82531
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configs/steam-rom-manager/userData/userConfigurations.json
Original file line number Diff line number Diff line change
Expand Up @@ -9326,7 +9326,7 @@
"appendArgsToExecutable": false
},
"parserInputs": {
"glob": "**/@(.desktop)"
"glob": "**/${title}@(.desktop)"
},
"titleFromVariable": {
"limitToGroups": "",
Expand Down
5 changes: 3 additions & 2 deletions tools/launchers/shadps4.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ fileExtension="${@##*.}"

if [[ $fileExtension == "desktop" ]]; then
rpcs3desktopFile=$(grep -E "^Exec=" "${*}" | sed 's/^Exec=//' | sed 's/%%/%/g')
echo "Exec=$rpcs3desktopFile"
eval $rpcs3desktopFile
launchParam="Exec=$rpcs3desktopFile"
launchParam=$(echo "$launchParam" | sed "s|^\(Exec=\)[^\"']*\"|\1$HOME/Applications/Shadps4-qt.AppImage\"|")
eval $launchParam
else
#run the executable with the params.
launch_args=()
Expand Down

0 comments on commit ce82531

Please sign in to comment.