diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2019-04-07 02:48:59 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-07 02:48:59 -0400 |
| commit | 2d19bfa7fbd4b76df0f34f4e603fd3f8283e743c (patch) | |
| tree | ee25f48a123c06e7ab07f061c6e5f14dc5f2b606 | |
| parent | 67e206fa0f69cbc386f589596bd95af8698b5637 (diff) | |
| parent | f5f7de64de2a15164ef6b62cb8da844dd823067d (diff) | |
Merge pull request #1199 from jftuga/use_tls12_for_nssm
Use TLS 1.2 to download NSSM
| -rw-r--r-- | deployment/windows/build-jellyfin.ps1 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/deployment/windows/build-jellyfin.ps1 b/deployment/windows/build-jellyfin.ps1 index 2c83f264c..2999912b3 100644 --- a/deployment/windows/build-jellyfin.ps1 +++ b/deployment/windows/build-jellyfin.ps1 @@ -26,7 +26,10 @@ function Build-JellyFin { Write-Error "arm only supported with Windows 8 or higher" exit } - dotnet publish -c $BuildType -r "$windowsversion-$Architecture" MediaBrowser.sln -o $InstallLocation -v $DotNetVerbosity + Write-Verbose "windowsversion-Architecture: $windowsversion-$Architecture" + Write-Verbose "InstallLocation: $InstallLocation" + Write-Verbose "DotNetVerbosity: $DotNetVerbosity" + dotnet publish -c $BuildType -r `"$windowsversion-$Architecture`" MediaBrowser.sln -o $InstallLocation -v $DotNetVerbosity } function Install-FFMPEG { @@ -73,6 +76,7 @@ function Install-NSSM { Write-Warning "NSSM will not be installed" }else{ Write-Verbose "Downloading NSSM" + [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 Invoke-WebRequest -Uri https://nssm.cc/ci/nssm-2.24-101-g897c7ad.zip -UseBasicParsing -OutFile "$tempdir/nssm.zip" | Write-Verbose } |
