improved deploy bat

This commit is contained in:
John Preston 2014-11-22 13:23:30 +03:00
parent 408b38b41f
commit 188e1b61c5
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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"