mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-27 07:58:01 +01:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Addresses the second review of #2767. The user-side codesign check ran before the admin prompt, so a bundle swapped while the prompt was up was copied anyway. The requirement now travels to osascript as its own argv item (empty for local builds) and the root shell checks the staged copy with codesign --verify before it replaces the driver or restarts coreaudiod. The copy refuses a symlinked or non-directory source, drops ACLs and quarantine flags, and leaves the staging copy root:wheel with no group or other write. Candidate inspection uses symlink_metadata: a symlink (dangling included) or a non-directory fails the install instead of reading as missing, and only a real Hex.app's Contents folder counts as the running bundle. The user home comes from app_paths. is_local_build no longer treats a hand-stamped 0.0.0-dev-<N> build (what scripts/release-app.sh makes, signed and notarized) as local; only build.rs's -dev-local marker is local. is_dev_build is unchanged. nix/package.nix's fileset now carries the two app/*-requirement.txt files the Linux build and tests include, and the codesign helper compiles on macOS only. |
||
| .. | ||
| checks.nix | ||
| hm-module.nix | ||
| module.nix | ||
| package.nix | ||
| wait-for-session.sh | ||