mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-01-09 16:19:43 +00:00
downgraded stream version to 5_3, beta 9014002
This commit is contained in:
parent
f02a659fca
commit
b43f582386
@ -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";
|
||||
|
@ -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;
|
||||
|
@ -3,4 +3,4 @@ AppVersionStrMajor 0.9
|
||||
AppVersionStrSmall 0.9.14
|
||||
AppVersionStr 0.9.14
|
||||
DevChannel 1
|
||||
BetaVersion 9014001
|
||||
BetaVersion 9014002
|
||||
|
Loading…
Reference in New Issue
Block a user