mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
docker/windows: Download Python installer as python3-installer
Having a binary called 'python3' anywhere that might accidentally end up in PATH is asking for trouble.
This commit is contained in:
parent
a86020a9bf
commit
ddf9f8962f
1 changed files with 3 additions and 3 deletions
|
@ -12,9 +12,9 @@ Start-Process C:\vs_buildtools.exe -ArgumentList '--quiet --wait --norestart --n
|
||||||
Remove-Item C:\vs_buildtools.exe -Force
|
Remove-Item C:\vs_buildtools.exe -Force
|
||||||
|
|
||||||
Write-Host "Installing Python"
|
Write-Host "Installing Python"
|
||||||
Invoke-WebRequest -Uri $python_dl_url -OutFile C:\python3.exe
|
Invoke-WebRequest -Uri $python_dl_url -OutFile C:\python3-installer.exe
|
||||||
Start-Process C:\python3.exe -ArgumentList '/quiet InstallAllUsers=1 PrependPath=1' -Wait
|
Start-Process C:\python3-installer.exe -ArgumentList '/quiet InstallAllUsers=1 PrependPath=1' -Wait
|
||||||
Remove-Item C:\python3.exe -Force
|
Remove-Item C:\python3-installer.exe -Force
|
||||||
|
|
||||||
Write-Host "Installing Git"
|
Write-Host "Installing Git"
|
||||||
Invoke-WebRequest -Uri $git_url -OutFile C:\mingit.zip
|
Invoke-WebRequest -Uri $git_url -OutFile C:\mingit.zip
|
||||||
|
|
Loading…
Reference in a new issue