mirror of
https://github.com/lobomfz/VIctory-xmem.git
synced 2026-12-06 05:48:38 +00:00
update.sh: keep save backups in the checkout
Default to ./saves-backup, outside local/; SAVES_BACKUP_DIR still overrides it. The folder is ignored.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -78,6 +78,7 @@ Thumbs.db
|
||||
# Fetched, built or written by setup.sh and run.sh
|
||||
/deps
|
||||
/local
|
||||
/saves-backup
|
||||
/run.conf
|
||||
/probe/
|
||||
/bisect/
|
||||
|
||||
@ -17,7 +17,7 @@ fi
|
||||
# only copy with it.
|
||||
backup_saves() {
|
||||
local src=${SAVES_DATA_DIR:-$PWD/local/data/7952987A}
|
||||
local dest=${SAVES_BACKUP_DIR:-$HOME/Games/GTA6/saves}
|
||||
local dest=${SAVES_BACKUP_DIR:-$PWD/saves-backup}
|
||||
local files=()
|
||||
[ -d "$src/saves" ] && files+=(saves)
|
||||
[ -e "$src/storage/settings" ] && files+=(storage/settings)
|
||||
|
||||
Reference in New Issue
Block a user