Skip to content

Commit

Permalink
Rename TOIT_VERSION to VERSION in installer. (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
floitsch authored Feb 10, 2022
1 parent c56f21c commit f4750c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/windows_installer/build.bat
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
set TOIT_VERSION=%1
set VERSION=%1
set BIN_PATH=%2
set BUILD_DIRECTORY=%3

set INSTALLER_NAME="%cd%\tools\windows_installer\jag_installer.exe"

set inno="C:\Program Files (x86)\Inno Setup 6\ISCC.exe"

%inno% /Qp /dMyAppVersion=%TOIT_VERSION% /dMyAppExeName="%BIN_PATH%" "%cd%/tools/windows_installer/installer.iss"
%inno% /Qp /dMyAppVersion=%VERSION% /dMyAppExeName="%BIN_PATH%" "%cd%/tools/windows_installer/installer.iss"
move %INSTALLER_NAME% %BUILD_DIRECTORY%

0 comments on commit f4750c0

Please sign in to comment.