diff --git a/Telegram/PrepareWin.bat b/Telegram/PrepareWin.bat index 1bebd5525e..53464d1fcf 100644 --- a/Telegram/PrepareWin.bat +++ b/Telegram/PrepareWin.bat @@ -1,6 +1,9 @@ @echo OFF +set "AppVersionStrSmall=0.6.12" set "AppVersionStr=0.6.12" +set "AppVersionStrFull=0.6.12" + echo. echo Preparing version %AppVersionStr%.. echo. @@ -14,7 +17,7 @@ if %errorlevel% neq 0 goto error1 call ..\..\..\TelegramPrivate\Sign.bat Updater.exe if %errorlevel% neq 0 goto error1 -iscc ..\..\Telegram\Setup.iss +iscc /dMyAppVersion=%AppVersionStrSmall% /dMyAppVersionZero=%AppVersionStr% /dMyAppFullVersion=%AppVersionStrFull% ..\..\Telegram\Setup.iss if %errorlevel% neq 0 goto error1 call ..\..\..\TelegramPrivate\Sign.bat tsetup.%AppVersionStr%.exe diff --git a/Telegram/Setup.iss b/Telegram/Setup.iss index 7ea4ed9353..9430e6c86d 100644 --- a/Telegram/Setup.iss +++ b/Telegram/Setup.iss @@ -3,9 +3,6 @@ #define MyAppShortName "Telegram" #define MyAppName "Telegram Desktop" -#define MyAppVersion "0.6.12" -#define MyAppVersionZero "0.6.12" -#define MyAppFullVersion "0.6.12.0" #define MyAppPublisher "Telegram Messenger LLP" #define MyAppURL "https://tdesktop.com" #define MyAppExeName "Telegram.exe"