mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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.
|
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()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue