Skip to content

Commit

Permalink
fix(nsis): Use zlib compressor instead of lzma since in any case we p…
Browse files Browse the repository at this point in the history
…ack app package using nsis7z

difference - 33.540 vs 33.601, only 61 KB
  • Loading branch information
develar committed Sep 30, 2017
1 parent d0da2f7 commit 83384fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/electron-builder/src/targets/nsis/nsis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,9 @@ export class NsisTarget extends Target {
commands.SetCompress = "off"
}
else {
commands.SetCompressor = "lzma"
// investigate https://github.com/electron-userland/electron-builder/issues/2134#issuecomment-333286194
// difference - 33.540 vs 33.601, only 61 KB
commands.SetCompressor = "zlib"
if (!this.isWebInstaller) {
defines.COMPRESS = "auto"
}
Expand Down

0 comments on commit 83384fc

Please sign in to comment.