mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
closed beta version with autoupdate added
This commit is contained in:
@@ -29,6 +29,10 @@ Qt::LayoutDirection gLangDir = gRtl ? Qt::RightToLeft : Qt::LeftToRight;
|
||||
mtpDcOptions gDcOptions;
|
||||
|
||||
bool gDevVersion = DevVersion;
|
||||
uint64 gBetaVersion = BETA_VERSION;
|
||||
uint64 gRealBetaVersion = BETA_VERSION;
|
||||
QByteArray gBetaPrivateKey;
|
||||
|
||||
bool gTestMode = false;
|
||||
bool gDebug = false;
|
||||
bool gManyInstance = false;
|
||||
@@ -143,6 +147,7 @@ QUrl gUpdateURL = QUrl(qsl("http://tdesktop.com/linux/tupdates/current"));
|
||||
#else
|
||||
#error Unknown platform
|
||||
#endif
|
||||
bool gIsElCapitan = false;
|
||||
|
||||
bool gContactsReceived = false;
|
||||
bool gDialogsReceived = false;
|
||||
@@ -168,8 +173,10 @@ ReportSpamStatuses gReportSpamStatuses;
|
||||
|
||||
void settingsParseArgs(int argc, char *argv[]) {
|
||||
#ifdef Q_OS_MAC
|
||||
gIsElCapitan = (QSysInfo::macVersion() >= QSysInfo::MV_10_11);
|
||||
if (QSysInfo::macVersion() < QSysInfo::MV_10_8) {
|
||||
gUpdateURL = QUrl(qsl("http://tdesktop.com/mac32/tupdates/current"));
|
||||
gPlatform = dbipMacOld;
|
||||
} else {
|
||||
gCustomNotifies = false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user