diff options
Diffstat (limited to 'sysutils/qflipper/files/patch-application_applicationupdater.cpp')
-rw-r--r-- | sysutils/qflipper/files/patch-application_applicationupdater.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sysutils/qflipper/files/patch-application_applicationupdater.cpp b/sysutils/qflipper/files/patch-application_applicationupdater.cpp index 2dbc1d0f5d33..7ba85e560e21 100644 --- a/sysutils/qflipper/files/patch-application_applicationupdater.cpp +++ b/sysutils/qflipper/files/patch-application_applicationupdater.cpp @@ -1,6 +1,6 @@ ---- application/applicationupdater.cpp.orig 2022-11-27 21:54:15 UTC +--- application/applicationupdater.cpp.orig 2023-03-27 09:51:38 UTC +++ application/applicationupdater.cpp -@@ -57,6 +57,9 @@ void ApplicationUpdater::installUpdate(const Flipper:: +@@ -63,6 +63,9 @@ void ApplicationUpdater::installUpdate(const Flipper:: void ApplicationUpdater::installUpdate(const Flipper::Updates::VersionInfo &versionInfo) { @@ -10,7 +10,7 @@ #ifdef Q_OS_WINDOWS const auto fileInfo = versionInfo.fileInfo(QStringLiteral("installer"), QStringLiteral("windows/amd64")); #elif defined(Q_OS_MAC) -@@ -64,7 +67,7 @@ void ApplicationUpdater::installUpdate(const Flipper:: +@@ -70,7 +73,7 @@ void ApplicationUpdater::installUpdate(const Flipper:: #elif defined(Q_OS_LINUX) const auto fileInfo = versionInfo.fileInfo(QStringLiteral("AppImage"), QStringLiteral("linux/amd64")); #else @@ -19,15 +19,15 @@ #endif const auto fileName = QFileInfo(fileInfo.url()).fileName(); -@@ -145,6 +148,7 @@ void ApplicationUpdater::installUpdate(const Flipper:: +@@ -151,6 +154,7 @@ void ApplicationUpdater::installUpdate(const Flipper:: qCWarning(CATEGORY_SELFUPDATES) << "Downloading the application update package..."; - setState(State::Downloading); + setState(Downloading); } +#endif } - void ApplicationUpdater::setState(State state) -@@ -207,6 +211,7 @@ bool ApplicationUpdater::performUpdate(const QString & + void ApplicationUpdater::setState(ApplicationUpdater::State state) +@@ -213,6 +217,7 @@ bool ApplicationUpdater::performUpdate(const QString & return success; #else |