diff --git a/Telegram/PrepareLinux.sh b/Telegram/PrepareLinux.sh
index 0de6f1e22..071f4f4b6 100755
--- a/Telegram/PrepareLinux.sh
+++ b/Telegram/PrepareLinux.sh
@@ -1,5 +1,5 @@
-AppVersionStr=0.5.19
-AppVersion=5019
+AppVersionStr=0.5.20
+AppVersion=5020
if [ -d "./../Linux/Release/deploy/$AppVersionStr" ]; then
echo "Deploy folder for version $AppVersionStr already exists!"
diff --git a/Telegram/PrepareLinux32.sh b/Telegram/PrepareLinux32.sh
index d0ec281ba..fb0f79e7e 100755
--- a/Telegram/PrepareLinux32.sh
+++ b/Telegram/PrepareLinux32.sh
@@ -1,5 +1,5 @@
-AppVersionStr=0.5.19
-AppVersion=5019
+AppVersionStr=0.5.20
+AppVersion=5020
if [ -d "./../Linux/Release/deploy/$AppVersionStr" ]; then
echo "Deploy folder for version $AppVersionStr already exists!"
diff --git a/Telegram/PrepareMac.sh b/Telegram/PrepareMac.sh
index 3a7b71d69..5af19cba4 100755
--- a/Telegram/PrepareMac.sh
+++ b/Telegram/PrepareMac.sh
@@ -1,5 +1,5 @@
-AppVersionStr=0.5.19
-AppVersion=5019
+AppVersionStr=0.5.20
+AppVersion=5020
if [ -d "./../Mac/Release/deploy/$AppVersionStr" ]; then
echo "Deploy folder for version $AppVersionStr already exists!"
diff --git a/Telegram/Setup.iss b/Telegram/Setup.iss
index fd5ddde46..d7a99f0fe 100644
--- a/Telegram/Setup.iss
+++ b/Telegram/Setup.iss
@@ -3,9 +3,9 @@
#define MyAppShortName "Telegram"
#define MyAppName "Telegram Win (Unofficial)"
-#define MyAppVersion "0.5.19"
-#define MyAppVersionZero "0.5.19"
-#define MyAppFullVersion "0.5.19.0"
+#define MyAppVersion "0.5.20"
+#define MyAppVersionZero "0.5.20"
+#define MyAppFullVersion "0.5.20.0"
#define MyAppPublisher "Telegram (Unofficial)"
#define MyAppURL "https://tdesktop.com"
#define MyAppExeName "Telegram.exe"
diff --git a/Telegram/SignWin.bat b/Telegram/SignWin.bat
new file mode 100644
index 000000000..898b623d0
--- /dev/null
+++ b/Telegram/SignWin.bat
@@ -0,0 +1,4 @@
+cd ..\Win32\Deploy
+call ..\..\..\TelegramPrivate\Sign.bat Telegram.exe
+call ..\..\..\TelegramPrivate\Sign.bat Updater.exe
+cd ..\..\Telegram
diff --git a/Telegram/SignWinSetup.bat b/Telegram/SignWinSetup.bat
new file mode 100644
index 000000000..97782e52b
--- /dev/null
+++ b/Telegram/SignWinSetup.bat
@@ -0,0 +1,3 @@
+cd ..\Win32\Deploy
+call ..\..\..\TelegramPrivate\Sign.bat tsetup.0.6.0.exe
+cd ..\..\Telegram
diff --git a/Telegram/SourceFiles/config.h b/Telegram/SourceFiles/config.h
index 10a582bd3..3351ebe34 100644
--- a/Telegram/SourceFiles/config.h
+++ b/Telegram/SourceFiles/config.h
@@ -17,8 +17,8 @@ Copyright (c) 2014 John Preston, https://tdesktop.com
*/
#pragma once
-static const int32 AppVersion = 5019;
-static const wchar_t *AppVersionStr = L"0.5.19";
+static const int32 AppVersion = 5020;
+static const wchar_t *AppVersionStr = L"0.5.20";
#ifdef Q_OS_WIN
static const wchar_t *AppName = L"Telegram Win (Unofficial)";
#else
diff --git a/Telegram/SourceFiles/pspecific_wnd.h b/Telegram/SourceFiles/pspecific_wnd.h
index 41efa007e..cd89bf9d0 100644
--- a/Telegram/SourceFiles/pspecific_wnd.h
+++ b/Telegram/SourceFiles/pspecific_wnd.h
@@ -87,6 +87,7 @@ protected:
bool posInited;
QSystemTrayIcon *trayIcon;
QMenu *trayIconMenu;
+ QImage icon256;
virtual void setupTrayIcon() = 0;
virtual QImage iconWithCounter(int size, int count, style::color bg, bool smallIcon) = 0;
diff --git a/Telegram/Telegram.plist b/Telegram/Telegram.plist
index b5cc81cb0..ff1a4d4ec 100644
--- a/Telegram/Telegram.plist
+++ b/Telegram/Telegram.plist
@@ -11,7 +11,7 @@
CFBundlePackageType
APPL
CFBundleShortVersionString
- 0.5.19
+ 0.5.20
CFBundleSignature
????
NOTE
diff --git a/Telegram/Telegram.rc b/Telegram/Telegram.rc
index 3d58a5115..76b000326 100644
Binary files a/Telegram/Telegram.rc and b/Telegram/Telegram.rc differ
diff --git a/Telegram/Telegram.xcodeproj/project.pbxproj b/Telegram/Telegram.xcodeproj/project.pbxproj
index 27390d8a2..5e607ae20 100644
--- a/Telegram/Telegram.xcodeproj/project.pbxproj
+++ b/Telegram/Telegram.xcodeproj/project.pbxproj
@@ -1487,7 +1487,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
COPY_PHASE_STRIP = NO;
- CURRENT_PROJECT_VERSION = 0.5.19;
+ CURRENT_PROJECT_VERSION = 0.5.20;
DEBUG_INFORMATION_FORMAT = dwarf;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
@@ -1505,7 +1505,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
COPY_PHASE_STRIP = YES;
- CURRENT_PROJECT_VERSION = 0.5.19;
+ CURRENT_PROJECT_VERSION = 0.5.20;
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_OPTIMIZATION_LEVEL = fast;
GCC_PREFIX_HEADER = ./SourceFiles/stdafx.h;
@@ -1531,10 +1531,10 @@
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "";
COPY_PHASE_STRIP = NO;
- CURRENT_PROJECT_VERSION = 0.5.19;
+ CURRENT_PROJECT_VERSION = 0.5.20;
DEBUG_INFORMATION_FORMAT = dwarf;
DYLIB_COMPATIBILITY_VERSION = 0.5;
- DYLIB_CURRENT_VERSION = 0.5.19;
+ DYLIB_CURRENT_VERSION = 0.5.20;
ENABLE_STRICT_OBJC_MSGSEND = YES;
FRAMEWORK_SEARCH_PATHS = "";
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
@@ -1673,10 +1673,10 @@
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "";
COPY_PHASE_STRIP = NO;
- CURRENT_PROJECT_VERSION = 0.5.19;
+ CURRENT_PROJECT_VERSION = 0.5.20;
DEBUG_INFORMATION_FORMAT = dwarf;
DYLIB_COMPATIBILITY_VERSION = 0.5;
- DYLIB_CURRENT_VERSION = 0.5.19;
+ DYLIB_CURRENT_VERSION = 0.5.20;
ENABLE_STRICT_OBJC_MSGSEND = YES;
FRAMEWORK_SEARCH_PATHS = "";
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;