mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #1954 from LogicalPhallacy/LogicalPhallacy-patch-NSSM
Use mirror for NSSM (cherry picked from commit ef623f512903624bba48f243e3a659ec46064054) Signed-off-by: Joshua Boniface <joshua@boniface.me>
This commit is contained in:
parent
7a592a0f15
commit
39c3b2f044
@ -7,7 +7,7 @@ set -o xtrace
|
|||||||
|
|
||||||
# Version variables
|
# Version variables
|
||||||
NSSM_VERSION="nssm-2.24-101-g897c7ad"
|
NSSM_VERSION="nssm-2.24-101-g897c7ad"
|
||||||
NSSM_URL="https://nssm.cc/ci/${NSSM_VERSION}.zip"
|
NSSM_URL="http://files.evilt.win/nssm/${NSSM_VERSION}.zip"
|
||||||
FFMPEG_VERSION="ffmpeg-4.0.2-win64-static"
|
FFMPEG_VERSION="ffmpeg-4.0.2-win64-static"
|
||||||
FFMPEG_URL="https://ffmpeg.zeranoe.com/builds/win64/static/${FFMPEG_VERSION}.zip"
|
FFMPEG_URL="https://ffmpeg.zeranoe.com/builds/win64/static/${FFMPEG_VERSION}.zip"
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ set -o xtrace
|
|||||||
|
|
||||||
# Version variables
|
# Version variables
|
||||||
NSSM_VERSION="nssm-2.24-101-g897c7ad"
|
NSSM_VERSION="nssm-2.24-101-g897c7ad"
|
||||||
NSSM_URL="https://nssm.cc/ci/${NSSM_VERSION}.zip"
|
NSSM_URL="http://files.evilt.win/nssm/${NSSM_VERSION}.zip"
|
||||||
FFMPEG_VERSION="ffmpeg-4.0.2-win32-static"
|
FFMPEG_VERSION="ffmpeg-4.0.2-win32-static"
|
||||||
FFMPEG_URL="https://ffmpeg.zeranoe.com/builds/win32/static/${FFMPEG_VERSION}.zip"
|
FFMPEG_URL="https://ffmpeg.zeranoe.com/builds/win32/static/${FFMPEG_VERSION}.zip"
|
||||||
|
|
||||||
|
@ -85,8 +85,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