Qt: Remove update.zip after updating

This commit is contained in:
Stenzek committed 2024-02-04 17:40:19 +10:00
1 parent 885addcfce
commit ac1fd7f0cf
5 files changed
+28 -5

No files matched your search

-3
View File
@@ -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__)