mirror of https://github.com/procxx/kepka.git
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 int32 AppVersion = 9014;
|
||||||
static const wchar_t *AppVersionStr = L"0.9.14";
|
static const wchar_t *AppVersionStr = L"0.9.14";
|
||||||
static const bool DevVersion = true;
|
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 *AppNameOld = L"Telegram Win (Unofficial)";
|
||||||
static const wchar_t *AppName = L"Telegram Desktop";
|
static const wchar_t *AppName = L"Telegram Desktop";
|
||||||
|
|
|
@ -191,7 +191,7 @@ void logsInit() {
|
||||||
}
|
}
|
||||||
if (beta.open(QIODevice::WriteOnly)) {
|
if (beta.open(QIODevice::WriteOnly)) {
|
||||||
QDataStream dataStream(&beta);
|
QDataStream dataStream(&beta);
|
||||||
dataStream.setVersion(QDataStream::Qt_5_5);
|
dataStream.setVersion(QDataStream::Qt_5_3);
|
||||||
dataStream << quint64(cRealBetaVersion()) << cBetaPrivateKey();
|
dataStream << quint64(cRealBetaVersion()) << cBetaPrivateKey();
|
||||||
} else {
|
} else {
|
||||||
LOG(("Error: could not open \"beta\" file for writing private key!"));
|
LOG(("Error: could not open \"beta\" file for writing private key!"));
|
||||||
|
@ -199,7 +199,7 @@ void logsInit() {
|
||||||
} else if (beta.exists()) {
|
} else if (beta.exists()) {
|
||||||
if (beta.open(QIODevice::ReadOnly)) {
|
if (beta.open(QIODevice::ReadOnly)) {
|
||||||
QDataStream dataStream(&beta);
|
QDataStream dataStream(&beta);
|
||||||
dataStream.setVersion(QDataStream::Qt_5_5);
|
dataStream.setVersion(QDataStream::Qt_5_3);
|
||||||
|
|
||||||
quint64 v;
|
quint64 v;
|
||||||
QByteArray k;
|
QByteArray k;
|
||||||
|
|
|
@ -3,4 +3,4 @@ AppVersionStrMajor 0.9
|
||||||
AppVersionStrSmall 0.9.14
|
AppVersionStrSmall 0.9.14
|
||||||
AppVersionStr 0.9.14
|
AppVersionStr 0.9.14
|
||||||
DevChannel 1
|
DevChannel 1
|
||||||
BetaVersion 9014001
|
BetaVersion 9014002
|
||||||
|
|
Loading…
Reference in New Issue