hex/scripts
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dax 538d16f668
windows: sign the setup engine so smart app control can run setup (#1987)
* windows: sign the setup engine so smart app control can run setup

Setup extracts a copy of its engine to %TEMP% at launch and writes the
installed uninstaller from the same bytes. Signing only the outer
hex-setup-*.exe left both unsigned, and Windows 11 Smart App Control
blocked the extracted copy ("Unable to execute file in the temporary
directory", error 4551).

SignedUninstaller embeds the engine's signature, but the signature has to
exist before the compile that uses it, and the compile job holds no
credentials. So the release signs it in two passes: the new
windows-setup-engine.yml compiles once with SignedUninstaller=yes and keeps
the unsigned uninst-*.e32 ISCC asks to be signed (ISCC leaves it and aborts
as a compile failure, exit 2); sign-windows-engine signs and verifies it in
the release environment; windows-installers.yml then compiles with the
signed engine and asserts the installed uninstaller's signature.

Test builds and runs without the Azure values keep the unsigned single
compile. Inno Setup is pinned to 6.7.1, read from the compiler's own banner
(ISCC.exe's version resource is 0.0.0), so both passes use one compiler.

* windows: harden the setup engine passes

Review fixes for the signed setup engine:

- sign-windows-engine requires sign-windows to have succeeded, and its
  steps are unguarded like sign-windows-installers, so it can never upload
  an empty digest.
- setup-engine runs only when Windows is signed (it waits for
  sign-windows), so unsigned runs really do a single compile with no
  engine pass at all.
- the Inno re-pin uses choco upgrade --allow-downgrade, because choco
  install --version treats a preinstalled package as already installed.
- Invoke-Iscc collects native stderr safely under Windows PowerShell 5.1
  and pwsh with $PSNativeCommandUseErrorActionPreference on, and echoes
  the compiler's lines so build logs stay readable.
- the version probe compiles a minimal script from standard input into a
  throwaway OutputDir, so it never touches the caller's -OutDir.
- only .e32 exists for the engine; drop the unused .e64 handling.
- the uninstaller signature test also checks the release publisher, and
  the test-builds doc warns that Smart App Control cannot be turned back
  on without resetting Windows.

* windows: correct the setup engine comments
2026-11-19 02:38:03 -05:00
..
launchd Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00
sounds feat(onboarding): the first run is one story, from a bad conversation to your first words (#1501) 2026-11-09 17:29:51 -08:00
build-app.sh build-app: keep cargo's output off stdout, which carries the bundle path (#1612) 2026-11-09 12:20:58 -08:00
build-capsule-playground.sh Captures on Linux (portal, PipeWire, VA-API); capture compiled into macOS and Linux builds (#320) 2026-10-28 20:58:27 -04:00
build-hex-microphone-driver.sh Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00
build-linux-release.sh Linux releases run on Debian 12 (glibc 2.36) (#1043) 2026-11-02 11:45:38 -05:00
build-linux.sh x86_64: keep ggml on x86-64-v3; refuse older CPUs with a clear message (#592) (#614) 2026-10-31 13:20:56 -04:00
build-service-app.sh Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00
build-windows-installer.ps1 windows: sign the setup engine so smart app control can run setup (#1987) 2026-11-19 02:38:03 -05:00
build-windows.sh Windows: hex.com console entry point beside the GUI hex.exe (#1374) 2026-11-05 06:52:51 -05:00
capture-dictation-fixtures.sh Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00
check scripts/check: name the root package without its checkout path (#1419) 2026-11-05 12:36:51 -08:00
check-ca-roots.sh Distrust the compromised eMudhra CAs (rustls-webpki 0.103.16, webpki-roots 1.0.10) (#189) 2026-10-21 16:57:12 -07:00
check-nix-git-pins.py Bump Rune to 1899e64: overlays pace frames with the swap chain on Windows (#1832) 2026-11-14 20:40:20 -05:00
check-onboarding.sh onboarding: skip only the demo and practice; continue without a model after a failed or stalled download (#1009) 2026-11-02 08:52:22 -05:00
code-shape.py Add code-shape gate and ratcheted exception lists 2026-10-31 18:57:51 -07:00
dictation-corpus.sh Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00
dictation-pause-fixtures.sh feat: Hex 2.2.0 — faster dictation and the Meetings beta (#133) 2026-10-16 09:59:27 -07:00
file-size-exceptions.txt split control settings keys out of settings.rs (#1664) 2026-11-10 18:21:06 -05:00
folder-shape-exceptions.txt Add code-shape gate and ratcheted exception lists 2026-10-31 18:57:51 -07:00
install-app.sh install-app: copy the new Hex in before removing the old one (#1608) 2026-11-09 19:32:14 +00:00
install-linux.sh Security: sign Linux releases, lock the installers, vendor the release client, pin actions and download hosts (#370) 2026-10-29 11:06:30 -04:00
macos-signing.sh Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00
notarize-app.sh macOS: lay out the installer window with Hex's keycap (#297) 2026-10-28 12:03:13 -07:00
package-linux.sh Linux: ship Hex's icon as anomaly.hex everywhere (#652) (#655) 2026-10-31 15:33:04 -04:00
prepare-service-app.sh ci: opt-in Developer ID signing and notarization under Anomaly's team 2026-10-22 21:10:41 -04:00
prepare-typescript-sdk.sh feat: expand dictation tooling and TypeScript SDK 2026-07-22 20:58:27 -04:00
publish-app-mirror.sh GitHub's Latest release is the stable app release, never the SDK (#1004) (#1007) 2026-11-02 08:40:49 -05:00
release-app.sh Lowercase release file names; README downloads by channel (#456) (#601) 2026-10-31 12:51:09 -04:00
release-aur.sh Linux: ship Hex's icon as anomaly.hex everywhere (#652) (#655) 2026-10-31 15:33:04 -04:00
release-dev-notes.sh ci: read release secrets from aws secrets manager (#1606) 2026-11-09 15:18:26 -05:00
release-homebrew.sh Release files publish as plain names: hex, Hex.dmg, Hex.zip, hex.exe, HexSetup.exe (#234) 2026-10-27 19:40:53 -04:00
set-crate-version.sh Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00
setup-parakeet.sh Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00
setup-windows.ps1 refactor: remove GPUI; Rune is the only UI 2026-10-22 17:12:11 -04:00
setup.sh feat(experiments): gate experimental panes in production, promote Output tab, and remove Smart Turn (t965) (#430) 2026-10-30 09:02:45 -07:00
smoke-embedded-service.sh Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00
smoke-macos-app.sh feat(updater): one in-app updater on the Anomaly release service; drop Sparkle 2026-10-24 11:03:26 -04:00
smoke-service-app.sh Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00
smoke-transcription-api.sh Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00
snap-set.sh Settings: raised cards on one left edge, on every pane (t53) (#238) 2026-10-27 17:57:50 -07:00
sync-meetings-mirror.sh Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00
test-app-identity.sh Captures on Linux (portal, PipeWire, VA-API); capture compiled into macOS and Linux builds (#320) 2026-10-28 20:58:27 -04:00
test-check-nix-git-pins.py fix(nix): truncate Cargo.lock stanzas in the pin check (#1408) 2026-11-05 14:52:49 -05:00
test-cohere-long-form.sh Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00
test-install-linux-release.sh linux: recolor the tray mark with the panel's text color (#1691) 2026-11-11 10:46:08 -05:00
test-linux-dictation.sh Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00
test-linux-service.py fix(linux): keep custom data roots out of desktop recovery (#772) 2026-10-31 23:58:32 -07:00
test-transcript-cli.py feat: add read-only history and meetings CLI for agents 2026-10-22 19:27:02 -07:00
test-vocabulary-eval.py Add vocabulary recall and false-insertion evaluation corpus 2026-10-22 22:35:03 -07:00
test-wayland-paste.sh Fold linux_* into linux/ 2026-10-31 14:32:07 -07:00
test-windows-installer.ps1 windows: sign the setup engine so smart app control can run setup (#1987) 2026-11-19 02:38:03 -05:00
validate-app.sh Keep the old Sparkle key so 2.3.1 and Swift Hex can update into the new Hex (t1217) (#1092) 2026-11-02 21:44:19 -08:00
vocabulary-corpus.py Add agent marker and drop internal references (#702) 2026-10-31 18:30:32 -07:00
vocabulary-eval.py Add vocabulary recall and false-insertion evaluation corpus 2026-10-22 22:35:03 -07:00
vocabulary-librispeech.py Add vocabulary recall and false-insertion evaluation corpus 2026-10-22 22:35:03 -07:00
windows-icon.ps1 feat: Windows beta with streaming dictation, Hold/Toggle shortcut mode, and x64 + ARM64 release (#141) 2026-10-19 11:00:46 +10:00