Skip to content

Commit

Permalink
fix(squirrel.windows): stdout maxBuffer exceeded
Browse files Browse the repository at this point in the history
Closes #709
  • Loading branch information
develar committed Aug 29, 2016
1 parent 51309bf commit 0b84868
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/targets/squirrelPack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,9 @@ async function releasify(options: SquirrelOptions, nupkgPath: string, outputDire
"--releasify", nupkgPath,
"--releaseDir", outputDirectory
]
const out = (await exec(process.platform === "win32" ? path.join(options.vendorPath, "Update.com") : "mono", prepareArgs(args, path.join(options.vendorPath, "Update-Mono.exe")))).trim()
const out = (await exec(process.platform === "win32" ? path.join(options.vendorPath, "Update.com") : "mono", prepareArgs(args, path.join(options.vendorPath, "Update-Mono.exe")), {
maxBuffer: 4 * 1024000,
})).trim()
if (debug.enabled) {
debug(out)
}
Expand Down

0 comments on commit 0b84868

Please sign in to comment.