feat(updater): final step for portable install

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
Rachel Powers
2023-06-24 22:21:16 -07:00
parent d2a3acd493
commit 4313466589
8 changed files with 256 additions and 55 deletions

View File

@ -85,7 +85,7 @@ class PrismUpdaterApp : public QApplication {
QFileInfo downloadAsset(const GitHubReleaseAsset& asset);
bool callAppImageUpdate();
void moveAndPostProcess(QDir target);
void moveAndFinishUpdate(QDir target);
public slots:
void downloadError(QString reason);
@ -98,7 +98,6 @@ class PrismUpdaterApp : public QApplication {
void clearUpdateLog();
void logUpdate(const QString& msg);
QString m_rootPath;
QString m_dataPath;
bool m_isPortable = false;
@ -114,6 +113,8 @@ class PrismUpdaterApp : public QApplication {
bool m_selectUI;
bool m_allowDowngrade;
QString m_updateLogPath;
QString m_prismBinaryName;
QString m_prismVersion;
int m_prismVersionMajor = -1;