2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Install launcher on every launch on Linux

Just like AppUserModelId on Windows

This makes the cheat code and having the function outside of private namespace unnecessary
This commit is contained in:
Ilya Fedin
2023-01-13 17:58:36 +04:00
committed by John Preston
parent b62e1d5036
commit 2be4641496
6 changed files with 31 additions and 54 deletions

View File

@@ -240,7 +240,6 @@ void Application::run() {
refreshGlobalProxy(); // Depends on app settings being read.
if (const auto old = Local::oldSettingsVersion(); old < AppVersion) {
Platform::InstallLauncher();
InvokeQueued(this, [] { RegisterUrlScheme(); });
Platform::NewVersionLaunched(old);
}