mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +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);
|
||||
}
|
||||
|
@@ -867,7 +867,6 @@ bool OpenSystemSettings(SystemSettingsType type) {
|
||||
}
|
||||
|
||||
void NewVersionLaunched(int oldVersion) {
|
||||
InstallLauncher();
|
||||
if (oldVersion > 0
|
||||
&& oldVersion <= 4000002
|
||||
&& qEnvironmentVariableIsSet("WAYLAND_DISPLAY")
|
||||
|
Reference in New Issue
Block a user