mirror of
https://github.com/morluto/rea.git
synced 2026-11-29 09:56:23 +00:00
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.