From ad5b7cf829ad0473cdacf164bf6ffe182ee67f24 Mon Sep 17 00:00:00 2001 From: Birunthan Mohanathas Date: Sat, 22 Dec 2012 15:56:10 +0200 Subject: [PATCH] Additional changes to 5d98c73 --- Build/Build.bat | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Build/Build.bat b/Build/Build.bat index 2d61e97a..73b75a8e 100644 --- a/Build/Build.bat +++ b/Build/Build.bat @@ -1,7 +1,7 @@ @echo off setlocal EnableDelayedExpansion -set VCVARSALL=%PROGRAMFILES%\Microsoft Visual Studio 11.0\VC\vcvarsall.bat +set VCVARSALL=%VS110COMNTOOLS%..\..\VC\vcvarsall.bat set MAKENSIS=%PROGRAMFILES%\NSIS\MakeNSIS.exe set SUBWCREV=%PROGRAMFILES%\TortoiseSVN\bin\SubWCRev.exe set GIT=%PROGRAMFILES%\Git\bin\git.exe @@ -19,15 +19,11 @@ echo Rainmeter Build echo ---------------------------------------------- echo. -if exist "%VCVARSALL%" goto VCFOUND -set VCVARSALL=%VCVARSALL:Program Files\=Program Files (x86)\% if not exist "%VCVARSALL%" echo ERROR: vcvarsall.bat not found & goto END -:VCFOUND - call "%VCVARSALL%" x86 > nul -if exist "Certificate.bat" call "Certificate.bat" > nul +set MSBUILD="msbuild.exe" /p:PlatformToolset=v110;VisualStudioVersion=11.0 -set MSBUILD="msbuild.exe" /p:VisualStudioVersion=11.0 +if exist "Certificate.bat" call "Certificate.bat" > nul set SIGNTOOL="signtool.exe" sign /t http://time.certum.pl /f "%CERTFILE%" /p "%CERTKEY%" if "%1" == "BUILDLANGUAGES" goto BUILDLANGUAGES