Qt: Remove update.zip after updating

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

View File

@@ -16,6 +16,7 @@ public:
bool Initialize(std::string staging_directory, std::string destination_directory);
bool OpenUpdateZip(const char* path);
void RemoveUpdateZip();
bool PrepareStagingDirectory();
bool StageUpdate();
bool CommitUpdate();
@@ -33,7 +34,9 @@ private:
};
bool ParseZip();
void CloseUpdateZip();
std::string m_zip_path;
std::string m_staging_directory;
std::string m_destination_directory;