refactor: move "delete old update files" logic to Updates (#5535)

This commit is contained in:
pajlada
2024-08-08 20:28:08 +02:00
committed by GitHub
parent f0802af055
commit 89857e37de
4 changed files with 29 additions and 17 deletions
+5
View File
@@ -31,6 +31,11 @@ public:
static bool isDowngradeOf(const QString &online, const QString &current);
/**
* @brief Delete old files that belong to the update process
*/
void deleteOldFiles();
void checkForUpdates();
const QString &getCurrentVersion() const;
const QString &getOnlineVersion() const;