Update appveyor.yml

double lolz
This commit is contained in:
tmaul 2019-10-20 19:50:55 +01:00 committed by GitHub
parent 695b766b46
commit 469d57e75a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,17 +6,17 @@ clone_depth: 1
init: init:
- ps: >- - ps: >-
Write-Host "DirectX Software Development Kit..." -ForegroundColor Cyan Write-Host "DirectX Software Development Kit..." -ForegroundColor Cyan
Write-Host "Downloading..." Write-Host "Downloading..."
$exePath = "$env:temp\DXSDK_Jun10.exe" $exePath = "$env:temp\DXSDK_Jun10.exe"
(New-Object Net.WebClient).DownloadFile('https://download.microsoft.com/download/A/E/7/AE743F1F-632B-4809-87A9-AA1BB3458E31/DXSDK_Jun10.exe', $exePath) (New-Object Net.WebClient).DownloadFile('https://download.microsoft.com/download/A/E/7/AE743F1F-632B-4809-87A9-AA1BB3458E31/DXSDK_Jun10.exe', $exePath)
Write-Host "Installing..." Write-Host "Installing..."
$installPath = "C:\DXSDK" $installPath = "C:\DXSDK"
cmd /c start /wait $exePath /P $installPath /U cmd /c start /wait $exePath /P $installPath /U
Add-Path $installPath Add-Path $installPath
Add-SessionPath $installPath Add-SessionPath $installPath
Remove-Item $exePath Remove-Item $exePath
Write-Host "Installed" -ForegroundColor Green Write-Host "Installed" -ForegroundColor Green
install: install:
- set "PATH=C:\DXSDK;C:\msys64\usr\bin;C:\msys64\mingw32\bin;C:\Windows\System32;C:\Windows;%PATH%" - set "PATH=C:\DXSDK;C:\msys64\usr\bin;C:\msys64\mingw32\bin;C:\Windows\System32;C:\Windows;%PATH%"
- set DXSDK_DIR=C:\DXSDK\ - set DXSDK_DIR=C:\DXSDK\