hermes-agent/apps/bootstrap-installer/src-tauri
kshitijk4poor 39fee4f3bc test(installer): cover the post-update relaunch/install target derivation
The macOS self-update relaunches and installs over the app it derives via
resolve_hermes_desktop_app (.../Hermes.app/Contents/MacOS/Hermes ->
.../Hermes.app). That derivation is load-bearing for both the ditto
install target and the auto-relaunch (open <app>), but had no test.

Add unit coverage:
- resolve_hermes_desktop_app_finds_built_bundle: a fake built release tree
  resolves to the .app bundle on macOS (and the exe elsewhere).
- resolve_hermes_desktop_app_is_none_without_a_build: no build => None.

Verified the positive test FAILS if the .app parent-walk is wrong (e.g.
one too few .parent() hops), so it's a real guard against a regression
that would break the post-update relaunch target.

cargo test -> 17 passed.
2026-06-03 12:02:07 -07:00
..
capabilities Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
icons Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
src test(installer): cover the post-update relaunch/install target derivation 2026-06-03 12:02:07 -07:00
build.rs feat(installer): make commit pinning opt-in, default to branch-follow 2026-06-01 21:35:46 -04:00
Cargo.toml Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
hermes-setup.manifest Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
tauri.conf.json feat(installer): rename macOS installer to "Hermes" and make it a launcher (#37516) 2026-06-02 17:47:34 +00:00