瀏覽代碼

Updated build-jellyfin.ps1 to pull from my mirror

Updated it to pull from my mirror on Azure.
LogicalPhallacy 5 年之前
父節點
當前提交
fd8d4894ca
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      deployment/windows/build-jellyfin.ps1

+ 3 - 2
deployment/windows/build-jellyfin.ps1

@@ -84,8 +84,9 @@ 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
+         # [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
+         # 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