hermes-agent/apps/desktop/scripts
Brooklyn Nicholson 2cd9e1777b fix(desktop): rebuild get-windows when its win32 binding is missing
Fixing the allowlist only helps a fresh install. npm will not re-run an
install script for a package already on disk, so every checkout that
installed while get-windows was blocked stays bricked: `hermes update`
pulls the fix, `npm install` skips the script, and the build fails on the
same missing binding.

Run `npm rebuild get-windows` from the staging step when the binding is
absent, and if that still yields nothing, print the two commands that
recover the checkout by hand instead of the previous advice to reinstall
dependencies, which is exactly what the user already tried. Gated to a
win32 host building for win32, since no other host can produce the binding.

Co-authored-by: JoaoMarcos44 <JoaoMarcos44@users.noreply.github.com>
2026-08-08 21:23:20 -05:00
..
perf
.gitignore
after-pack.mjs
assert-dist-built.mjs
assert-dist-built.test.mjs
assert-root-install.mjs
before-build.mjs
before-pack.mjs
before-pack.test.mjs
bundle-electron-main.mjs
click-session.mjs
dev-mock.mjs
dev-no-hmr.mjs
diag-code-live.mjs
diag-drag-churn.mjs
diag-drag-trace.mjs
diag-jump.mjs
diag-key-latency.mjs
diag-live-state.mjs
diag-overlay-ab.mjs
diag-overlay-churn.mjs
diag-overlay-full.mjs
diag-overlay-sweep.mjs
diag-real-loop.mjs
diag-ro-storm.mjs
diag-scroll-reset.mjs
diag-sidebar-dom.mjs
diag-switch-autopsy.mjs
diag-switch-trace.mjs
eval.mjs
gen-share-codes.ts
live-drive.mjs
notarize-artifact.mjs
notarize.mjs
patch-electron-builder-mac-binary.mjs
probe-command-palette.mjs
probe-model-picker.mjs
probe-renderer.mjs
probe-thread.mjs
profile-model-picker.mjs
profile-typing-lag.md
rebuild-native.mjs
reload-renderer.mjs
reload.mjs
run-electron-builder.mjs
set-exe-identity.mjs
stage-native-deps.mjs fix(desktop): rebuild get-windows when its win32 binding is missing 2026-08-08 21:23:20 -05:00
stage-native-deps.test.mjs fix(desktop): rebuild get-windows when its win32 binding is missing 2026-08-08 21:23:20 -05:00
test-desktop.mjs
utils.mjs
write-build-stamp.mjs
write-build-stamp.test.mjs