[pr-fix][startup] Keep relative DARNER_HOME in the directory the launcher was started from #63
Loading…
Reference in a new issue
No description provided.
Delete branch "SmallDevBigNothing/Darner:codex/launcher-relative-home"
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?
What it changes
When
DARNER_HOMEis relative,play-nvidia.ps1resolves it for the menu and logs, then starts Darner from the repository directory. The child receives the original relative path and looks for saves and caches in a different profile. Pass the already resolved path to the child.How it was tested
295621eandc38d01don Windows PowerShell 5.1 and PowerShell 7. Ran the launcher from a separate directory with spaces in the profile path and a probe in place ofdarner.exe. WithDARNER_HOMErelative, the probe found the saved-profile marker only after the fix. Absolute paths and an unsetDARNER_HOMEworked on both revisions.git diff --check, andcargo run --locked --quiet -p xtask -- policy --stagedpassed. Game execution and workspace gates were outside this launcher test.Checklist
main.docs/asset-policy.md.Checked for overlap