File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"windows" : {
3
3
"sox" : " sox-14.4.2-win32" ,
4
- "ffmpeg" : " ffmpeg-4.3.1-win64-static "
4
+ "ffmpeg" : " https://www.gyan.dev/ ffmpeg/builds/packages/ffmpeg -4.3.1-2020-09-16-full_build.zip "
5
5
}
6
6
}
Original file line number Diff line number Diff line change 77
77
run : |
78
78
$soxVersion = python -c "import json;print(json.load(open('.github/manimdependency.json'))['windows']['sox'])"
79
79
$soxVersionNumber = python -c "import json;print(json.load(open('.github/manimdependency.json'))['windows']['sox'].split('-')[1])"
80
- $ffmpegVersion = python -c "import json;print(json.load(open('.github/manimdependency.json'))['windows']['ffmpeg'])"
81
- $ffmpegVersionNumber = python -c "import json;print(json.load(open('.github/manimdependency.json'))['windows']['ffmpeg'].split('-')[1])"
80
+ $ffmpegUrl = python -c "import json;print(json.load(open('.github/manimdependency.json'))['windows']['ffmpeg'])"
82
81
$OriPath = $env:PATH
83
82
echo "Install Tinytex"
84
83
Invoke-WebRequest "https://ci.appveyor.com/api/projects/yihui/tinytex/artifacts/TinyTeX.zip?job=image:%20Visual%20Studio%202019" -O "$($env:TMP)\TinyTex.zip"
90
89
Invoke-WebRequest "https://downloads.sourceforge.net/project/sox/sox/$($soxVersionNumber)/$($soxVersion).zip" -UserAgent "wget" -O "$($env:TMP)\SoX.zip"
91
90
7z x "$($env:TMP)\SoX.zip" -o"$($PWD)\ManimCache"
92
91
Move-Item "ManimCache\sox-*" "ManimCache\SoX"
93
- Invoke-WebRequest "https://ffmpeg.zeranoe.com/builds/win64/static/$($ffmpegVersion).zip " -O "$($env:TMP)\$($ffmpegVersion) .zip"
94
- 7z x "$($env:TMP)\$($ffmpegVersion) .zip" -o"$($PWD)\ManimCache"
92
+ Invoke-WebRequest "$ffmpegUrl " -O "$($env:TMP)\ffmpeg .zip"
93
+ 7z x "$($env:TMP)\ffmpeg .zip" -o"$($PWD)\ManimCache"
95
94
Move-Item "ManimCache\ffmpeg-*" "ManimCache\FFmpeg"
96
95
97
96
- name : Add Windows dependecies to path
You can’t perform that action at this time.
0 commit comments