Skip to content

Commit

Permalink
version 0.7.1 - bugfixes, korean font in linux, exec-by-link fixed in…
Browse files Browse the repository at this point in the history
… linux
  • Loading branch information
john-preston committed Dec 16, 2014
1 parent d7d7e60 commit d10715a
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 17 deletions.
6 changes: 3 additions & 3 deletions Telegram/PrepareWin.bat
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
@echo OFF

set "AppVersionStrSmall=0.7"
set "AppVersionStr=0.7.0"
set "AppVersionStrFull=0.7.0.0"
set "AppVersionStrSmall=0.7.1"
set "AppVersionStr=0.7.1"
set "AppVersionStrFull=0.7.1.0"

echo.
echo Preparing version %AppVersionStr%..
Expand Down
2 changes: 1 addition & 1 deletion Telegram/SourceFiles/application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ void Application::startApp() {
QNetworkProxyFactory::setUseSystemConfiguration(true);
if (Local::oldMapVersion() < AppVersion) {
psRegisterCustomScheme();
if (Local::oldMapVersion() && Local::oldMapVersion() <= FeaturesNotifyVersionFrom && AppVersion == FeaturesNotifyVersion) {
if (Local::oldMapVersion() && Local::oldMapVersion() < FeaturesNotifyVersion) {
QString versionFeatures(QString::fromUtf8(FeaturesNotify).arg(QString::fromStdWString(AppVersionStr)));
if (!versionFeatures.isEmpty()) {
window->serviceNotification(versionFeatures);
Expand Down
5 changes: 2 additions & 3 deletions Telegram/SourceFiles/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ Copyright (c) 2014 John Preston, https://desktop.telegram.org
*/
#pragma once

static const int32 AppVersion = 7000;
static const wchar_t *AppVersionStr = L"0.7";
static const int32 AppVersion = 7001;
static const wchar_t *AppVersionStr = L"0.7.1";

static const wchar_t *AppNameOld = L"Telegram Win (Unofficial)";
static const wchar_t *AppName = L"Telegram Desktop";
Expand All @@ -27,7 +27,6 @@ static const wchar_t *AppId = L"{53F49750-6209-4FBF-9CA8-7A333C87D1ED}"; // used
static const wchar_t *AppFile = L"Telegram";

static const int32 FeaturesNotifyVersion = 7000;
static const int32 FeaturesNotifyVersionFrom = 6021;
extern const char *FeaturesNotify;

#include "settings.h"
Expand Down
2 changes: 1 addition & 1 deletion Telegram/Telegram.plist
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.7</string>
<string>0.7.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
Expand Down
Binary file modified Telegram/Telegram.rc
Binary file not shown.
16 changes: 8 additions & 8 deletions Telegram/Telegram.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1577,7 +1577,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 0.7;
CURRENT_PROJECT_VERSION = 0.7.1;
DEBUG_INFORMATION_FORMAT = dwarf;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
Expand All @@ -1595,7 +1595,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
COPY_PHASE_STRIP = YES;
CURRENT_PROJECT_VERSION = 0.7;
CURRENT_PROJECT_VERSION = 0.7.1;
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_OPTIMIZATION_LEVEL = fast;
GCC_PREFIX_HEADER = ./SourceFiles/stdafx.h;
Expand All @@ -1621,10 +1621,10 @@
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "";
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 0.7;
CURRENT_PROJECT_VERSION = 0.7.1;
DEBUG_INFORMATION_FORMAT = dwarf;
DYLIB_COMPATIBILITY_VERSION = 0.6;
DYLIB_CURRENT_VERSION = 0.7;
DYLIB_COMPATIBILITY_VERSION = 0.7;
DYLIB_CURRENT_VERSION = 0.7.1;
ENABLE_STRICT_OBJC_MSGSEND = YES;
FRAMEWORK_SEARCH_PATHS = "";
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
Expand Down Expand Up @@ -1764,10 +1764,10 @@
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "";
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 0.7;
CURRENT_PROJECT_VERSION = 0.7.1;
DEBUG_INFORMATION_FORMAT = dwarf;
DYLIB_COMPATIBILITY_VERSION = 0.6;
DYLIB_CURRENT_VERSION = 0.7;
DYLIB_COMPATIBILITY_VERSION = 0.7;
DYLIB_CURRENT_VERSION = 0.7.1;
ENABLE_STRICT_OBJC_MSGSEND = YES;
FRAMEWORK_SEARCH_PATHS = "";
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
Expand Down
2 changes: 1 addition & 1 deletion Telegram/Version.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
echo 7000 0.7.0
echo 7001 0.7.1

0 comments on commit d10715a

Please sign in to comment.