mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-08-27 04:37:41 +00:00
Remove checked-in vswhere.exe binary
This commit is contained in:
@@ -134,7 +134,8 @@ if /I "%VC_ARCH%" NEQ "%PROCESSOR_ARCHITECTURE%" (
|
||||
)
|
||||
|
||||
rem Find Visual Studio and run vcvarsall.bat
|
||||
set VSWHERE="%SOURCE_ROOT%\scripts\vswhere.exe"
|
||||
call "%SOURCE_ROOT%\scripts\find-vswhere.bat"
|
||||
if !ERRORLEVEL! NEQ 0 goto Error
|
||||
for /f "usebackq delims=" %%i in (`%VSWHERE% -latest -property installationPath`) do (
|
||||
call "%%i\VC\Auxiliary\Build\vcvarsall.bat" %VC_ARCH%
|
||||
)
|
||||
@@ -142,6 +143,7 @@ if !ERRORLEVEL! NEQ 0 goto Error
|
||||
|
||||
rem Find VC redistributable DLLs
|
||||
for /f "usebackq delims=" %%i in (`%VSWHERE% -latest -find VC\Redist\MSVC\*\%ARCH%\Microsoft.VC*.CRT`) do set VC_REDIST_DLL_PATH=%%i
|
||||
if !ERRORLEVEL! NEQ 0 goto Error
|
||||
|
||||
echo Cleaning output directories
|
||||
rmdir /s /q %DEPLOY_FOLDER%
|
||||
|
||||
Reference in New Issue
Block a user