fix(release): use workspace electron-builder for desktop packaging (#2938)
Co-authored-by: Julius Marminge <[email protected]>
This commit is contained in:
1 parent
dca93d0ee8
commit
6a1c4da528
3 files changed
+1117
-11
No files matched your search
@@ -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:"
|
||||
},
|
||||
|
||||
Generated
+1113
-8
File diff suppressed because it is too large.
Load diff
@@ -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,
|
||||
},
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user