mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-04 16:35:44 +00:00
Revert "Register tg:// scheme on initial launch."
This reverts commit 8cbeadc68a
.
This commit is contained in:
@@ -270,14 +270,9 @@ void Application::run() {
|
|||||||
|
|
||||||
refreshGlobalProxy(); // Depends on app settings being read.
|
refreshGlobalProxy(); // Depends on app settings being read.
|
||||||
|
|
||||||
if (const auto old = Local::oldSettingsVersion()) {
|
if (const auto old = Local::oldSettingsVersion(); old < AppVersion) {
|
||||||
if (old < AppVersion) {
|
|
||||||
autoRegisterUrlScheme();
|
|
||||||
Platform::NewVersionLaunched(old);
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
// Initial launch.
|
|
||||||
autoRegisterUrlScheme();
|
autoRegisterUrlScheme();
|
||||||
|
Platform::NewVersionLaunched(old);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cAutoStart() && !Platform::AutostartSupported()) {
|
if (cAutoStart() && !Platform::AutostartSupported()) {
|
||||||
|
Reference in New Issue
Block a user