Download apps/desktop/scripts/before-build.mjs from SaylorTwift/hermes-agent: direct link, hf CLI and curl.
- Browser
- Download file 506 Bytes
-
https://huggingface.co/SaylorTwift/hermes-agent/resolve/main/apps/desktop/scripts/before-build.mjs
- Command line
-
hf download hf://SaylorTwift/hermes-agent/apps/desktop/scripts/before-build.mjs
-
curl -L -o before-build.mjs https://huggingface.co/SaylorTwift/hermes-agent/resolve/main/apps/desktop/scripts/before-build.mjs
506 Bytes
| /** | |
| * 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 | |
| } | |