From 58e64ebfc9af84bb1024f386758d66ad020cca3f Mon Sep 17 00:00:00 2001 From: fgsfds Date: Tue, 12 Nov 2024 14:19:12 +0100 Subject: [PATCH] port: flatpak: launch the x86_64 executable for now --- dist/linux/io.github.fgsfdsfgs.perfect_dark.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/dist/linux/io.github.fgsfdsfgs.perfect_dark.sh b/dist/linux/io.github.fgsfdsfgs.perfect_dark.sh index 0e163c2a9..28ff8213b 100644 --- a/dist/linux/io.github.fgsfdsfgs.perfect_dark.sh +++ b/dist/linux/io.github.fgsfdsfgs.perfect_dark.sh @@ -10,14 +10,15 @@ done # Default to pd as executable but switch to jpn/pal if the NTSC rom # 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 ] | \ [ -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 - executable="pd.jpn" + executable="pd.jpn.x86_64" elif [ -f ${XDG_DATA_HOME}/roms/pd.pal-final.z64 ]; then - executable="pd.pal" + executable="pd.pal.x86_64" fi # If first parameter passed to this script is one of the pd executables,