Qt: Remove update.zip after updating
This commit is contained in:
5 files changed
+28
-5
No files matched your search
@@ -707,9 +707,6 @@ bool AutoUpdaterDialog::processUpdate(const std::vector<u8>& update_data)
|
||||
|
||||
void AutoUpdaterDialog::cleanupAfterUpdate()
|
||||
{
|
||||
const QString zip_path = QString::fromStdString(Path::Combine(EmuFolders::DataRoot, "update.zip"));
|
||||
if (QFile::exists(zip_path))
|
||||
QFile::remove(zip_path);
|
||||
}
|
||||
|
||||
#elif defined(__linux__)
|
||||
|
||||
Reference in new issue
Block a user