GH-1060 update tweaks
* download to multimc folder hierarchy * use rename, not copy * keep backup after update * clean previous backup before update * it's not 'copy', it's 'replace'
This commit is contained in:
parent
22c5ced5dc
commit
15b7c3039a
6 changed files with 58 additions and 40 deletions
|
@ -27,8 +27,8 @@
|
|||
namespace GoUpdate
|
||||
{
|
||||
|
||||
DownloadTask::DownloadTask(Status status, QObject *parent)
|
||||
: Task(parent)
|
||||
DownloadTask::DownloadTask(Status status, QString target, QObject *parent)
|
||||
: Task(parent), m_updateFilesDir(target)
|
||||
{
|
||||
m_status = status;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue