Skip to content

Commit 0b84868

Browse files
committed
fix(squirrel.windows): stdout maxBuffer exceeded
Closes #709
1 parent 51309bf commit 0b84868

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/targets/squirrelPack.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,9 @@ async function releasify(options: SquirrelOptions, nupkgPath: string, outputDire
180180
"--releasify", nupkgPath,
181181
"--releaseDir", outputDirectory
182182
]
183-
const out = (await exec(process.platform === "win32" ? path.join(options.vendorPath, "Update.com") : "mono", prepareArgs(args, path.join(options.vendorPath, "Update-Mono.exe")))).trim()
183+
const out = (await exec(process.platform === "win32" ? path.join(options.vendorPath, "Update.com") : "mono", prepareArgs(args, path.join(options.vendorPath, "Update-Mono.exe")), {
184+
maxBuffer: 4 * 1024000,
185+
})).trim()
184186
if (debug.enabled) {
185187
debug(out)
186188
}

0 commit comments

Comments
 (0)