Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
Use manual updater if AppImage one isn't working
Carsten Hartenfelsc8169f0afec8
diff --git a/libs/ui/KisWelcomePageWidget.cpp b/libs/ui/KisWelcomePageWidget.cppindex 33089f5120..c8f74b3343 100644--- a/libs/ui/KisWelcomePageWidget.cpp+++ b/libs/ui/KisWelcomePageWidget.cpp@@ -205,7 +205,9 @@ KisWelcomePageWidget::KisWelcomePageWidget(QWidget *parent)if (!qEnvironmentVariableIsSet("SteamAppId")) { // do not create updater for linux/steamif (qEnvironmentVariableIsSet("APPIMAGE")) {m_versionUpdater.reset(new KisAppimageUpdater());- } else {+ }+ // Fall back to the manual updater if the AppImage one doesn't work.+ if (m_versionUpdater.isNull() || !m_versionUpdater->hasUpdateCapability()) {m_versionUpdater.reset(new KisManualUpdater());}}