Skip to content

Commit

Permalink
Merge pull request #384 from Stremio/try-fix-server
Browse files Browse the repository at this point in the history
Use appveyor's means of file download for the server.js
  • Loading branch information
core1024 committed Dec 15, 2023
2 parents 982945f + f334d28 commit d3adcd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d3adcd4

Please sign in to comment.