fix(release): use workspace electron-builder for desktop packaging (#2938)

Co-authored-by: Julius Marminge <[email protected]>
This commit is contained in:
Julius MarmingeandJulius Marminge authored and GitHub committed 2026-06-03 22:15:15 -07:00
1 parent dca93d0ee8
commit 6a1c4da528
3 files changed
+1117 -11

No files matched your search

+1
View File
@@ -26,6 +26,7 @@
"@effect/vitest": "catalog:",
"@types/node": "catalog:",
"cross-env": "^10.1.0",
"electron-builder": "26.8.1",
"vite-plus": "catalog:",
"vitest": "catalog:"
},
+1113 -8
View File
File diff suppressed because it is too large. Load diff
+3 -3
View File
@@ -944,13 +944,13 @@ const buildDesktopArtifact = Effect.fn("buildDesktopArtifact")(function* (
);
yield* runCommand(
ChildProcess.make({
cwd: stageAppDir,
cwd: repoRoot,
env: buildEnv,
// Windows needs shell mode to resolve .cmd shims.
shell: process.platform === "win32",
})`vp dlx electron-builder ${platformConfig.cliFlag} --${options.arch} --publish never`,
})`vp exec --filter @t3tools/desktop -- electron-builder --projectDir ${stageAppDir} ${platformConfig.cliFlag} --${options.arch} --publish never`,
{
label: `vp dlx electron-builder ${platformConfig.cliFlag} --${options.arch} --publish never`,
label: `vp exec --filter @t3tools/desktop -- electron-builder --projectDir ${stageAppDir} ${platformConfig.cliFlag} --${options.arch} --publish never`,
verbose: options.verbose,
},
);