Verified Commit ee027932 authored by azubieta's avatar azubieta

Add BACKUP postfix to the old file

parent 4cebee66
Pipeline #1078 passed with stage
in 8 minutes and 1 second
#include <QFile>
#include <QDebug>
#include <QtConcurrent/QtConcurrent>
......@@ -115,6 +116,7 @@ void AppUpdater::checkUpdateProgress()
case Updater::STOPPING:
break;
case Updater::SUCCESS:
QFile::rename(appImagePath, appImagePath + ".BACKUP");
updateDialog.showCompletionMessage();
progressCheckTimer.stop();
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment