aboutsummaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorSulfurNitride <SulfurNitride@users.noreply.github.com>2026-02-18 12:40:18 -0600
committerSulfurNitride <SulfurNitride@users.noreply.github.com>2026-02-18 12:40:18 -0600
commit276bf2fac226b5ac3059120edc4dfb55578ca601 (patch)
treecec603a7cb09ff99e0bc13dbb6add76c7366f02e /libs
parent3b0bcc514a15a3d6b6d31423cf42b6c43e85bf1c (diff)
Fix save deploy/sync for non-Bethesda games using Saved Games directory
Games like Cyberpunk 2077 store saves in %USERPROFILE%/Saved Games/ instead of Documents/My Games/.../Saves. The save pipeline previously hardcoded Documents/My Games as the base path, so profile-specific saves never reached the correct location. Replace relative save path resolution with absolute path resolution that extracts the user-relative portion from LocalSavegames::mappings() or savesDirectory() and reconstructs it under the Fluorine prefix. Update restoreStaleBackups to scan the entire prefix for backup dirs. Remove "Saved Games" from NaK symlink skip list. Fixes #17 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'libs')
-rw-r--r--libs/nak/src/installers/symlinks.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/nak/src/installers/symlinks.rs b/libs/nak/src/installers/symlinks.rs
index ef8cbb4..aa55752 100644
--- a/libs/nak/src/installers/symlinks.rs
+++ b/libs/nak/src/installers/symlinks.rs
@@ -198,7 +198,7 @@ const SKIP_DIRS: &[&str] = &[
"NetHood", "PrintHood", "Recent", "SendTo",
"Start Menu", "Templates", "My Documents", "My Music",
"My Pictures", "My Videos", "Desktop", "Downloads",
- "Favorites", "Links", "Saved Games", "Searches",
+ "Favorites", "Links", "Searches",
"Contacts", "3D Objects",
];