distribution/packages/emulators/standalone/pcsx2-sa/sources/start_pcsx2.sh
anthonycaccese 611379786d Update start_pcsx2.sh
add -nogui option to attempt to remove the need to touch the screen when starting the emulator from ES
2023-09-29 20:12:44 -04:00

18 lines
No EOL
371 B
Bash
Executable file

#!/bin/sh
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2021-present - Fewtarius
. /etc/profile
ARG=${1//[\\]/}
jslisten set "-9 pcsx2-qt"
if [ ! -d "/storage/.config/PCSX2" ]
then
cp -rf /usr/config/PCSX2 /storage/.config
fi
@APPIMAGE@ -fastboot -nogui -- "${ARG}"
#Workaround until we can learn why it doesn't exit cleanly when asked.
killall -9 pcsx2-qt