Browse Source

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

Change NSIS log verbosity and use lesser but faster compression.
dkanada 5 years ago
parent
commit
884c3e5614
2 changed files with 6 additions and 4 deletions
  1. 2 0
      deployment/windows/build-jellyfin.ps1
  2. 4 4
      deployment/windows/jellyfin.nsi

+ 2 - 0
deployment/windows/build-jellyfin.ps1

@@ -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

+ 4 - 4
deployment/windows/jellyfin.nsi

@@ -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