Files
Davmunrey b1e8aa8b19 fix(setup): run the macOS Hopper installer's tools from /usr/bin
The macOS Hopper installer ran hdiutil, codesign, ditto and open through REA's PATH. Its two codesign checks decide whether setup installs and opens the downloaded app, so a codesign earlier on PATH that exits 0 passed the publisher check, while the launch-time check of the same publisher already runs /usr/bin/codesign. The DMG reader and the bridge launcher likewise run /usr/bin/hdiutil and /usr/bin/open.

The installer now runs each tool from its macOS system path, and the setup disclosure names the executable that runs.

Tests: a boundary test puts stand-in codesign, hdiutil and open on PATH. Before this change the stand-in codesign made validBundle return verified; now no stand-in runs. The disclosure test expects /usr/bin/codesign.
2026-11-27 04:21:09 +08:00
..