aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordkanada <dkanada@users.noreply.github.com>2020-01-16 15:04:16 +0900
committerGitHub <noreply@github.com>2020-01-16 15:04:16 +0900
commit884c3e561425b09c9be9d614fa086c479834cad6 (patch)
treecb9d22072bf2dce1e42435b711a19d5f9466e7f5
parent3b3718e43749871c6c7e79bb62ffa1a382100728 (diff)
parentec8baaf48d28526e888d2301c5eaf207455c3dfd (diff)
Merge pull request #2283 from EraYaN/nsis-create-speedup
Change NSIS log verbosity and use lesser but faster compression.
-rw-r--r--deployment/windows/build-jellyfin.ps12
-rw-r--r--deployment/windows/jellyfin.nsi8
2 files changed, 6 insertions, 4 deletions
diff --git a/deployment/windows/build-jellyfin.ps1 b/deployment/windows/build-jellyfin.ps1
index dde6eb8fc..bb2f50919 100644
--- a/deployment/windows/build-jellyfin.ps1
+++ b/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
diff --git a/deployment/windows/jellyfin.nsi b/deployment/windows/jellyfin.nsi
index 5666d30f0..86724b8f4 100644
--- a/deployment/windows/jellyfin.nsi
+++ b/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