mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-21 09:26:43 +00:00
The tests built the expected explorer.exe / reg.exe path from SystemRoot with unwrap(), so they panicked when it was unset and ignored the C:\Windows fallback for an unset or relative value. The rule is now a small pure function windows_root(value) in each crate; the tests use it and check the absolute, unset, relative, rooted-without-drive and empty cases without touching the process environment. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>