fix(saves): Linux save backups in ~/.local/share/longshot/save-backup, beside the saves #80
No reviewers
Labels
No labels
area/build
area/install
area/saves
area/tooling
area/ui
area/updates
ci: approved
good first issue
gpu/amd
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
platform/linux
platform/steam-deck
platform/windows
priority
critical
priority
high
priority
low
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/LongshotLauncher!80
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/LongshotLauncher:fix/linux-save-backup-folder"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
On Linux the launcher put its save backups in
~/.local/share/oot-save-backups, a folder of its own at the top of the data folder, away from everything else Longshot keeps. They now go beside the saves, in~/.local/share/longshot/save-backup/.What changed
SaveEnvironment.BackupRoot(Core/Saves.cs): Linux's default is$XDG_DATA_HOME/longshot/save-backup. Windows (%LOCALAPPDATA%\Longshot\oot-save-backups) and a portable launcher'ssave-backupsare unchanged.docs/saves.mdsays the new folder.Uninstall keeps whatever
BackupRootis, so it follows the new folder with no other change.Compatibility
Backups already made stay in
~/.local/share/oot-save-backups; nothing moves them. Longshot'sscripts/longshot_saves.pystill backs up to the old folder on Linux, so until it follows, the script's and the launcher's backups are in two places.Testing
Not built or tested locally; CI compiles it and runs both tests.
🤖 Generated with Claude Code