From f334d28010eff17a107904b6211279443481a964 Mon Sep 17 00:00:00 2001 From: Vladimir Borisov Date: Fri, 15 Dec 2023 13:53:26 +0200 Subject: [PATCH] Use appveyor's means of file download --- appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index eeca94a4..41538e78 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -102,8 +102,8 @@ test_script: - copy "%FFMPEG_BIN_PATH%\*.dll" dist-win # copy-windows-node (stremio-runtime) - ps: '& $(Join-Path $env:DLL_DIR "generate_stremio-runtime.cmd") dist-win' - # Download and patch server.js in order to work with node 14 - - ps: ((Invoke-WebRequest -Uri (Get-Content -path ./server-url.txt)).Content -replace 'os.tmpDir','os.tmpdir') | Set-Content -Path .\dist-win\server.js + # Download server.js in order to work with node 14 + - ps: Start-FileDownload (Get-Content -path ./server-url.txt) -FileName .\dist-win\server.js # copy-windows-ds - copy "%DS_BIN_PATH%\DS.exe" dist-win - copy "%DS_BIN_PATH%\Microsoft.Search.Interop.dll" dist-win