[ENHANCEMENT] Enhance the bat script: use the variables instead of hard coded constant strings.

This commit is contained in:
Don Ho 2015-07-30 19:45:45 +02:00
parent 209058ed45
commit efbea233d2
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ If ErrorLevel 1 PAUSE
If ErrorLevel 1 PAUSE If ErrorLevel 1 PAUSE
"C:\Program Files\7-Zip\7z.exe" a -r .\build\npp.bin.7z .\zipped.package.release\* "C:\Program Files\7-Zip\7z.exe" a -r .\build\npp.bin.7z .\zipped.package.release\*
If ErrorLevel 1 PAUSE If ErrorLevel 1 PAUSE
IF EXIST "%PROGRAMFILES(X86)%" ("C:\Program Files (x86)\NSIS\Unicode\makensis.exe" nppSetup.nsi) ELSE ("C:\Program Files\NSIS\Unicode\makensis.exe" nppSetup.nsi) IF EXIST "%PROGRAMFILES(X86)%" ("%PROGRAMFILES(x86)%\NSIS\Unicode\makensis.exe" nppSetup.nsi) ELSE ("%PROGRAMFILES%\NSIS\Unicode\makensis.exe" nppSetup.nsi)
@echo off @echo off