Move installer running to client side for Ubuntu

This commit is contained in:
aiamnezia 2024-12-19 18:10:46 +04:00
parent 2029c108e5
commit 8de7ad6b41
5 changed files with 186 additions and 35 deletions

View file

@ -30,6 +30,14 @@ private:
QString m_version;
QString m_releaseDate;
QString m_downloadUrl;
#if defined(Q_OS_WINDOWS)
int runWindowsInstaller(const QString &installerPath);
#elif defined(Q_OS_MACOS)
int runMacInstaller(const QString &installerPath);
#elif defined(Q_OS_LINUX) && !defined(Q_OS_ANDROID)
int runLinuxInstaller(const QString &installerPath);
#endif
};
#endif // UPDATECONTROLLER_H