Explorar o código

Switch around SetCompressor arguments. Hide progress bars for powershell.

Erwin de Haan %!s(int64=5) %!d(string=hai) anos
pai
achega
ec8baaf48d
Modificáronse 2 ficheiros con 3 adicións e 1 borrados
  1. 2 0
      deployment/windows/build-jellyfin.ps1
  2. 1 1
      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

+ 1 - 1
deployment/windows/jellyfin.nsi

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