2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Add '-externalupdater' command-line argument.

Now no-autoupdater mode can be switched on in runtime.
Also TDESKTOP_DISABLE_AUTOUPDATE build is disabled in CI (trivial).

Fixes #4895.
This commit is contained in:
John Preston
2018-07-12 01:14:44 +03:00
parent e2bc6990c7
commit 52e7ddf079
29 changed files with 449 additions and 420 deletions

View File

@@ -368,10 +368,10 @@ MainWidget::MainWidget(
orderWidgets();
#ifndef TDESKTOP_DISABLE_AUTOUPDATE
Core::UpdateChecker checker;
checker.start();
#endif // !TDESKTOP_DISABLE_AUTOUPDATE
if (!Core::UpdaterDisabled()) {
Core::UpdateChecker checker;
checker.start();
}
}
void MainWidget::setupConnectingWidget() {