Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
DFN2
ocs-manager
Commits
4b66ee26
Commit
4b66ee26
authored
Sep 15, 2019
by
azubieta
Browse files
Merge branch 'add_back_postfix' into 'master'
Add BACKUP postfix to the old file See merge request
!11
parents
4cebee66
ee027932
Pipeline
#1080
passed with stage
in 8 minutes and 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/src/updaters/appupdater.cpp
View file @
4b66ee26
#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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment