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:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user