mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Updated build-jellyfin.ps1 to pull from my mirror
Updated it to pull from my mirror on Azure.
This commit is contained in:
parent
8edb1c49d8
commit
fd8d4894ca
@ -84,8 +84,9 @@ 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
|
# [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
|
# Temporary workaround, file is hosted in an azure blob with a custom domain in front for brevity
|
||||||
|
Invoke-WebRequest -Uri http://files.evilt.win/nssm/nssm-2.24-101-g897c7ad.zip -UseBasicParsing -OutFile "$tempdir/nssm.zip" | Write-Verbose
|
||||||
}
|
}
|
||||||
|
|
||||||
Expand-Archive "$tempdir/nssm.zip" -DestinationPath "$tempdir/nssm/" -Force | Write-Verbose
|
Expand-Archive "$tempdir/nssm.zip" -DestinationPath "$tempdir/nssm/" -Force | Write-Verbose
|
||||||
|
Loading…
x
Reference in New Issue
Block a user