downgraded stream version to 5_3, beta 9014002

This commit is contained in:
John Preston 2015-12-04 12:46:41 +03:00
parent f02a659fca
commit b43f582386
3 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@ Copyright (c) 2014-2015 John Preston, https://desktop.telegram.org
static const int32 AppVersion = 9014;
static const wchar_t *AppVersionStr = L"0.9.14";
static const bool DevVersion = true;
#define BETA_VERSION (9014001ULL) // just comment this line to build public version
#define BETA_VERSION (9014002ULL) // just comment this line to build public version
static const wchar_t *AppNameOld = L"Telegram Win (Unofficial)";
static const wchar_t *AppName = L"Telegram Desktop";

View File

@ -191,7 +191,7 @@ void logsInit() {
}
if (beta.open(QIODevice::WriteOnly)) {
QDataStream dataStream(&beta);
dataStream.setVersion(QDataStream::Qt_5_5);
dataStream.setVersion(QDataStream::Qt_5_3);
dataStream << quint64(cRealBetaVersion()) << cBetaPrivateKey();
} else {
LOG(("Error: could not open \"beta\" file for writing private key!"));
@ -199,7 +199,7 @@ void logsInit() {
} else if (beta.exists()) {
if (beta.open(QIODevice::ReadOnly)) {
QDataStream dataStream(&beta);
dataStream.setVersion(QDataStream::Qt_5_5);
dataStream.setVersion(QDataStream::Qt_5_3);
quint64 v;
QByteArray k;

View File

@ -3,4 +3,4 @@ AppVersionStrMajor 0.9
AppVersionStrSmall 0.9.14
AppVersionStr 0.9.14
DevChannel 1
BetaVersion 9014001
BetaVersion 9014002