mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-07 12:15:19 +00:00
Implement support for flatpak updates
This commit is contained in:
@@ -470,7 +470,10 @@ void InstallLauncher() {
|
||||
"DESKTOPINTEGRATION");
|
||||
|
||||
// don't update desktop file for alpha version or if updater is disabled
|
||||
if (cAlphaVersion() || Core::UpdaterDisabled() || DisabledByEnv) {
|
||||
if (cAlphaVersion()
|
||||
|| Core::UpdaterDisabled()
|
||||
|| KSandbox::isInside()
|
||||
|| DisabledByEnv) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user