mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 04:18:43 +00:00
Fixed install-vs2017.bat.
This commit is contained in:
parent
f003d01952
commit
6edb8547d3
1 changed files with 5 additions and 4 deletions
|
|
@ -12,10 +12,11 @@ if %ERRORLEVEL% neq 0 (
|
|||
goto:eof
|
||||
)
|
||||
|
||||
set "ARCH=%PROCESSOR_ARCHITECTURE%"
|
||||
if %ARCH%==x86 set "VSWhere=%ProgramFiles%\Microsoft Visual Studio\Installer\vswhere.exe"
|
||||
if %ARCH%==AMD64 set "VSWhere=%ProrgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
|
||||
REM set "VSWhere=%ProgramFiles%\Microsoft Visual Studio\Installer\vswhere.exe"
|
||||
if not exist "%ProgramFiles(x86)%" (
|
||||
set "ProgramFiles(x86)=%ProgramFiles%"
|
||||
)
|
||||
|
||||
set "VSWhere=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
|
||||
|
||||
:MSBuild
|
||||
echo Looking for MSBuild
|
||||
|
|
|
|||
Loading…
Reference in a new issue