File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -227,6 +227,7 @@ const publishCmd = Command.make(
227227 cwd : serverDir ,
228228 stdout : config . verbose ? "inherit" : "ignore" ,
229229 stderr : "inherit" ,
230+ // Windows needs shell mode to resolve .cmd shims.
230231 shell : process . platform === "win32" ,
231232 } ) ,
232233 ) ;
Original file line number Diff line number Diff line change @@ -644,6 +644,7 @@ const buildDesktopArtifact = Effect.fn("buildDesktopArtifact")(function* (
644644 ChildProcess . make ( {
645645 cwd : stageAppDir ,
646646 ...commandOutputOptions ( options . verbose ) ,
647+ // Windows needs shell mode to resolve .cmd shims (e.g. bun.cmd).
647648 shell : process . platform === "win32" ,
648649 } ) `bun install --production` ,
649650 ) ;
@@ -683,6 +684,7 @@ const buildDesktopArtifact = Effect.fn("buildDesktopArtifact")(function* (
683684 cwd : stageAppDir ,
684685 env : buildEnv ,
685686 ...commandOutputOptions ( options . verbose ) ,
687+ // Windows needs shell mode to resolve .cmd shims.
686688 shell : process . platform === "win32" ,
687689 } ) `bunx electron-builder ${ platformConfig . cliFlag } --${ options . arch } --publish never` ,
688690 ) ;
You can’t perform that action at this time.
0 commit comments