port: flatpak: launch the x86_64 executable for now

This commit is contained in:
fgsfds committed 2024-11-12 14:19:12 +01:00
1 parent 36f9e59304
commit 58e64ebfc9
1 file changed
+5 -4
+5 -4
View File
@@ -10,14 +10,15 @@ done
# Default to pd as executable but switch to jpn/pal if the NTSC rom # Default to pd as executable but switch to jpn/pal if the NTSC rom
# is missing but JPN/PAL are present. # is missing but JPN/PAL are present.
executable="pd" # TODO: Other arch
executable="pd.x86_64"
if [ -f ${XDG_DATA_HOME}/roms/pd.ntsc-final.z64 ] | \ if [ -f ${XDG_DATA_HOME}/roms/pd.ntsc-final.z64 ] | \
[ -f ${XDG_DATA_HOME}/roms/pd.ntsc-1.0.z64 ]; then [ -f ${XDG_DATA_HOME}/roms/pd.ntsc-1.0.z64 ]; then
executable="pd" executable="pd.x86_64"
elif [ -f ${XDG_DATA_HOME}/roms/pd.jpn-final.z64 ]; then elif [ -f ${XDG_DATA_HOME}/roms/pd.jpn-final.z64 ]; then
executable="pd.jpn" executable="pd.jpn.x86_64"
elif [ -f ${XDG_DATA_HOME}/roms/pd.pal-final.z64 ]; then elif [ -f ${XDG_DATA_HOME}/roms/pd.pal-final.z64 ]; then
executable="pd.pal" executable="pd.pal.x86_64"
fi fi
# If first parameter passed to this script is one of the pd executables, # If first parameter passed to this script is one of the pd executables,