Commit Graph
3 Commits
Author SHA1 Message Date
Ruan ShannonandClaude Opus 5.5 df953b5062 installer/recent.py: raw docstring, so its Windows path no longer holds an invalid escape
The docstring names %LOCALAPPDATA%\TotK Recomp\setup.json; "\T" is an invalid escape sequence, which Python 3.14 (the
setup's bundled Python) reports as a SyntaxWarning every time the module is compiled, and which a later Python turns into
a SyntaxError that would stop the setup from starting. A raw docstring keeps the text as written.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 03:21:11 -08:00
Valiantsin DzerakhandClaude Opus 5.5 a2843c3fbf The setup window remembers the base, update, keys and firmware paths along with the install folder
A reinstall or a switch to another game version starts with the form filled in. Only absolute paths are stored, never the keys file's contents, and an entry that no longer exists, has the wrong kind or cannot be statted is dropped on load. Follows #715 by DanielSvoboda.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 17:21:32 +03:00
Valiantsin DzerakhandClaude Opus 5.5 640990afcc The setup window starts with the last install folder, kept in a per-user file
An update needs only the install folder: the recorded game language and the other inputs come from totk-install.json. installer/recent.py stores the folder in %LOCALAPPDATA%\TotK Recomp\setup.json (XDG state dir elsewhere), outside the release folder, so a new release finds it.

Idea from #715 by DanielSvoboda.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 17:14:23 +03:00