Update io.github.fgsfdsfgs.perfect_dark.sh

This commit is contained in:
peerchemist authored and GitHub committed 2025-03-18 09:00:38 +01:00
1 parent e65f46d081
commit 6c29e7ecc8
1 file changed
+4 -4
+4 -4
View File
@@ -11,14 +11,14 @@ 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.
# TODO: Other arch # TODO: Other arch
executable="pd.i686" 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.i686" 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.i686" executable="pd.jpn.x"
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.i686" 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,