delete zip after updating

This commit is contained in:
Lightos1
2026-06-14 17:37:00 +02:00
parent bd6502f930
commit 54fd2eb98d

View File

@@ -180,6 +180,8 @@ void UpdateGui::jobBody() {
return;
}
std::remove(pkg.zipPath);
m_resultMessage = "Update complete! Restart required.";
m_stage.store(UpdateStage::Done, std::memory_order_release);
}