mirror of
https://github.com/stablyai/orca.git
synced 2026-09-22 08:02:28 +00:00
* fix(install): regenerate cpu-features buildcheck.gypi before rebuild cpu-features@0.0.10 ships without buildcheck.gypi and relies on its own install script to generate it via `node buildcheck.js` before node-gyp runs. @electron/rebuild with force:true calls node-gyp directly and bypasses that hook, so a missing gypi (fresh install, store prune, or prior failed run) aborts postinstall with "buildcheck.gypi not found". Generate the file ourselves for every cpu-features copy under .pnpm/ before invoking @electron/rebuild on platforms where cpu-features is not in ignoreModules. Co-authored-by: Orca <help@stably.ai> * fix(install): satisfy oxlint curly rule Co-authored-by: Orca <help@stably.ai> --------- Co-authored-by: Orca <help@stably.ai>