distribution/packages/emulators/standalone/vita3k-sa/scripts/start_vita3k.sh

22 lines
567 B
Bash
Raw Normal View History

2023-09-07 21:08:45 +00:00
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0-or-later
2023-10-24 13:59:09 +00:00
# Copyright (C) 2022-present - The JELOS Project (https://github.com/JustEnoughLinuxOS)
2023-09-07 21:08:45 +00:00
. /etc/profile
jslisten set "-9 Vita3K"
#Check if vita3k folder exists in /storage/.config/vita3k
if [ ! -d "/storage/.config/vita3k" ]; then
mkdir -p "/storage/.config/vita3k"
cp -r "/usr/config/vita3k" "/storage/.config/"
fi
#Check if vita3k folder exists in /storage/roms/psvita
if [ ! -d "/storage/roms/psvita/vita3k" ]; then
mkdir -p "/storage/roms/psvita/vita3k"
fi
#Start Vita3K
/usr/bin/Vita3K