mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 11:34:57 +02:00
Merge pull request #1199 from jftuga/use_tls12_for_nssm
Use TLS 1.2 to download NSSM
This commit is contained in:
commit
2d19bfa7fb
1 changed files with 5 additions and 1 deletions
|
@ -26,7 +26,10 @@ function Build-JellyFin {
|
||||||
Write-Error "arm only supported with Windows 8 or higher"
|
Write-Error "arm only supported with Windows 8 or higher"
|
||||||
exit
|
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 {
|
function Install-FFMPEG {
|
||||||
|
@ -73,6 +76,7 @@ function Install-NSSM {
|
||||||
Write-Warning "NSSM will not be installed"
|
Write-Warning "NSSM will not be installed"
|
||||||
}else{
|
}else{
|
||||||
Write-Verbose "Downloading NSSM"
|
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
|
Invoke-WebRequest -Uri https://nssm.cc/ci/nssm-2.24-101-g897c7ad.zip -UseBasicParsing -OutFile "$tempdir/nssm.zip" | Write-Verbose
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue