(cmd: string, args: string[])
| 40 | const ensureBundle = (): void => { |
| 41 | if (existsSync(hostBundle().app)) return; |
| 42 | const run = (cmd: string, args: string[]) => |
| 43 | execFileSync(cmd, args, { cwd: appDir, stdio: "inherit", env: { ...process.env } }); |
| 44 | run("bun", ["./scripts/build-sidecar.ts"]); |
| 45 | run("bunx", ["--bun", "electron-vite", "build"]); |
| 46 | execFileSync( |