diff options
Diffstat (limited to 'logic/LegacyUpdate.h')
-rw-r--r-- | logic/LegacyUpdate.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/logic/LegacyUpdate.h b/logic/LegacyUpdate.h index a68d67bb..c94fc4c6 100644 --- a/logic/LegacyUpdate.h +++ b/logic/LegacyUpdate.h @@ -48,7 +48,12 @@ private slots: void ModTheJar(); private: - bool MergeZipFiles(QuaZip *into, QFileInfo from, QSet<QString>& contained); + enum MetainfAction + { + KeepMetainf, // the META-INF folder will be added from the merged jar + IgnoreMetainf // the META-INF from the merged jar will be ignored + }; + bool MergeZipFiles(QuaZip *into, QFileInfo from, QSet<QString>& contained, MetainfAction metainf); private: QSharedPointer<QNetworkReply> m_reply; |