mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 07:07:08 +02:00
Revert "Register tg:// scheme on initial launch."
This reverts commit 8cbeadc68a
.
This commit is contained in:
parent
ebba58217c
commit
46b69a938b
1 changed files with 2 additions and 7 deletions
|
@ -270,14 +270,9 @@ void Application::run() {
|
|||
|
||||
refreshGlobalProxy(); // Depends on app settings being read.
|
||||
|
||||
if (const auto old = Local::oldSettingsVersion()) {
|
||||
if (old < AppVersion) {
|
||||
autoRegisterUrlScheme();
|
||||
Platform::NewVersionLaunched(old);
|
||||
}
|
||||
} else {
|
||||
// Initial launch.
|
||||
if (const auto old = Local::oldSettingsVersion(); old < AppVersion) {
|
||||
autoRegisterUrlScheme();
|
||||
Platform::NewVersionLaunched(old);
|
||||
}
|
||||
|
||||
if (cAutoStart() && !Platform::AutostartSupported()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue