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

Remove -externalupdater flag

Having a path to executable in /etc/tdesktop/externalupdater is a way more convenient and is enough
This commit is contained in:
Ilya Fedin
2021-08-11 05:17:57 +04:00
committed by John Preston
parent a3ee1e4ed5
commit 8b7b0fa570
7 changed files with 2 additions and 29 deletions

View File

@@ -454,7 +454,6 @@ void Launcher::processArguments() {
{ "-fixprevious" , KeyFormat::NoValues },
{ "-cleanup" , KeyFormat::NoValues },
{ "-noupdate" , KeyFormat::NoValues },
{ "-externalupdater", KeyFormat::NoValues },
{ "-tosettings" , KeyFormat::NoValues },
{ "-startintray" , KeyFormat::NoValues },
{ "-sendpath" , KeyFormat::AllLeftValues },
@@ -485,9 +484,6 @@ void Launcher::processArguments() {
}
}
if (parseResult.contains("-externalupdater")) {
SetUpdaterDisabledAtStartup();
}
gUseFreeType = parseResult.contains("-freetype");
gDebugMode = parseResult.contains("-debug");
gManyInstance = parseResult.contains("-many");