Skip to content

Commit df63633

Browse files
committed
fix: formatting fixes
1 parent 2818db8 commit df63633

File tree

9 files changed

+218
-175
lines changed

9 files changed

+218
-175
lines changed

apps/desktop/forge.config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ const config: ForgeConfig = {
5656
"resources",
5757
"node-binaries",
5858
`${platform}-${arch}`,
59-
platform === "win32" ? "node.exe" : "node"
59+
platform === "win32" ? "node.exe" : "node",
6060
);
6161
const nodeBinaryDest = join(
6262
projectRoot,
6363
"resources",
6464
"node-binaries",
65-
`${platform}-${arch}`
65+
`${platform}-${arch}`,
6666
);
6767

6868
// Check if the binary exists
@@ -74,10 +74,10 @@ const config: ForgeConfig = {
7474
console.log(`✓ Node.js binary found for ${platform}-${arch}`);
7575
} else {
7676
console.error(
77-
`✗ Node.js binary not found for ${platform}-${arch} at ${nodeBinarySource}`
77+
`✗ Node.js binary not found for ${platform}-${arch} at ${nodeBinarySource}`,
7878
);
7979
console.error(
80-
` Please run 'pnpm download-node' or 'pnpm download-node:all' first`
80+
` Please run 'pnpm download-node' or 'pnpm download-node:all' first`,
8181
);
8282
throw new Error(`Missing Node.js binary for ${platform}-${arch}`);
8383
}

apps/desktop/resources/node-binaries/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,12 @@ pnpm download-node:all
3131
## Purpose
3232

3333
These binaries are used to spawn a separate Node.js process for Whisper transcription, providing:
34+
3435
- Avoidance of Electron's V8 memory cage limitations (4GB max heap)
3536
- Proper GPU/Metal framework initialization
3637
- Ability to load large Whisper models (3GB+) without OOM errors
3738
- Clean process isolation from Electron's runtime
3839

3940
## Version
4041

41-
Currently using Node.js v22.17.0 LTS binaries.
42+
Currently using Node.js v22.17.0 LTS binaries.

0 commit comments

Comments
 (0)