2
0
Эх сурвалжийг харах

Switch around SetCompressor arguments. Hide progress bars for powershell.

Erwin de Haan 5 жил өмнө
parent
commit
ec8baaf48d

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

@@ -15,6 +15,8 @@ param(
     [ValidateSet('x64','x86', 'arm', 'arm64')][string]$Architecture = 'x64'
     [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.
 #PowershellCore and *nix check to make determine which temp dir to use.
 if(($PSVersionTable.PSEdition -eq 'Core') -and (-not $IsWindows)){
 if(($PSVersionTable.PSEdition -eq 'Core') -and (-not $IsWindows)){
     $TempDir = mktemp -d
     $TempDir = mktemp -d

+ 1 - 1
deployment/windows/jellyfin.nsi

@@ -1,5 +1,5 @@
 !verbose 3
 !verbose 3
-SetCompressor bzip2 /SOLID
+SetCompressor /SOLID bzip2
 ShowInstDetails show
 ShowInstDetails show
 ShowUninstDetails show
 ShowUninstDetails show
 Unicode True
 Unicode True