Merge pull request #2283 from EraYaN/nsis-create-speedup

Change NSIS log verbosity and use lesser but faster compression.
This commit is contained in:
dkanada 2020-01-16 15:04:16 +09:00 committed by GitHub
commit 884c3e5614
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

View file

@ -15,6 +15,8 @@ param(
[ValidateSet('x64','x86', 'arm', 'arm64')][string]$Architecture = 'x64'
)
$ProgressPreference = 'SilentlyContinue' # Speedup all downloads by hiding progress bars.
#PowershellCore and *nix check to make determine which temp dir to use.
if(($PSVersionTable.PSEdition -eq 'Core') -and (-not $IsWindows)){
$TempDir = mktemp -d

View file

@ -1,9 +1,9 @@
; Shows a lot of debug information while compiling
; This can be removed once stable.
!verbose 4
SetCompressor lzma
!verbose 3
SetCompressor /SOLID bzip2
ShowInstDetails show
ShowUninstDetails show
Unicode True
;--------------------------------
!define SF_USELECTED 0 ; used to check selected options status, rest are inherited from Sections.nsh