hermes-agent/apps/desktop/scripts/before-build.mjs
2026-07-08 16:24:16 -07:00

11 lines
506 B
JavaScript

/**
* Desktop bundles ship precompiled renderer assets. Returning false here tells
* electron-builder to skip the node_modules collector/install step, which
* avoids workspace dependency graph explosions and keeps packaging
* deterministic across environments. The Hermes Agent Python payload is no
* longer bundled; the Electron app fetches it at first launch via
* `install.ps1`'s stage protocol (Windows). See `electron/main.ts`.
*/
export default async function beforeBuild() {
return false
}