distribution/packages/emulators/standalone/pcsx2-sa/sources/start_pcsx2.sh

17 lines
363 B
Bash
Raw Normal View History

#!/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
2023-02-27 11:55:06 +00:00
@APPIMAGE@ -fastboot -- "${ARG}"
#Workaround until we can learn why it doesn't exit cleanly when asked.
killall -9 pcsx2-qt