mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Install launcher before registering URL scheme
This commit is contained in:
@@ -236,6 +236,7 @@ void Application::run() {
|
||||
refreshGlobalProxy(); // Depends on app settings being read.
|
||||
|
||||
if (const auto old = Local::oldSettingsVersion(); old < AppVersion) {
|
||||
Platform::InstallLauncher();
|
||||
RegisterUrlScheme();
|
||||
Platform::NewVersionLaunched(old);
|
||||
}
|
||||
|
Reference in New Issue
Block a user