Vita3k start script should sync configuration from /usr/config to catch any changes without overwriting existing settings.
This commit is contained in:
parent
70373cb116
commit
54902df050
1 changed files with 3 additions and 5 deletions
|
@ -9,13 +9,11 @@ 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
|
||||
|
||||
if [ ! -d "/storage/.config/vita3k/lang/user" ]
|
||||
then
|
||||
mkdir -p "/storage/.config/vita3k/lang/user"
|
||||
fi
|
||||
#Make sure we sync any changes from /storage/.config so new features will be enabled
|
||||
#without overwriting existing settings.
|
||||
rsync -ah --update /usr/config/vita3k/* /storage/.config/vita3k 2>/dev/null
|
||||
|
||||
#Check if vita3k folder exists in /storage/roms/psvita
|
||||
if [ ! -d "/storage/roms/psvita/vita3k" ]; then
|
||||
|
|
Loading…
Reference in a new issue