Fix portable if manifest is missing
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
(cherry picked from commit c15f6fcd2a
)
This commit is contained in:
parent
1a51cb76ad
commit
56b64edc44
@ -474,8 +474,7 @@ PrismUpdaterApp::PrismUpdaterApp(int& argc, char** argv) : QApplication(argc, ar
|
||||
target_dir = QDir(m_rootPath).absoluteFilePath("..");
|
||||
}
|
||||
|
||||
QMetaObject::invokeMethod(
|
||||
this, [this, target_dir]() { moveAndFinishUpdate(target_dir); }, Qt::QueuedConnection);
|
||||
QMetaObject::invokeMethod(this, [this, target_dir]() { moveAndFinishUpdate(target_dir); }, Qt::QueuedConnection);
|
||||
|
||||
} else {
|
||||
QMetaObject::invokeMethod(this, &PrismUpdaterApp::loadReleaseList, Qt::QueuedConnection);
|
||||
@ -1118,7 +1117,6 @@ void PrismUpdaterApp::backupAppDir()
|
||||
"Qt*.dll",
|
||||
});
|
||||
}
|
||||
file_list.append("portable.txt");
|
||||
logUpdate("manifest.txt empty or missing. making best guess at files to back up.");
|
||||
}
|
||||
logUpdate(tr("Backing up:\n %1").arg(file_list.join(",\n ")));
|
||||
|
Loading…
Reference in New Issue
Block a user