diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-08-28 21:52:19 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-08-28 21:52:19 +0200 |
commit | 78e278c1e33e39eb29a26a976b19ea6a8150bfff (patch) | |
tree | 05c9c5a591b706d086930105b0e187e6266f0bb4 /logic/LegacyUpdate.h | |
parent | 93bb7c87e3274124465f0858c20091784f84edb1 (diff) | |
download | PrismLauncher-78e278c1e33e39eb29a26a976b19ea6a8150bfff.tar.gz PrismLauncher-78e278c1e33e39eb29a26a976b19ea6a8150bfff.tar.bz2 PrismLauncher-78e278c1e33e39eb29a26a976b19ea6a8150bfff.zip |
Misc tweaks
* Do not nuke forge META-INF
* Disable inner DnD in mod lists on linux.
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; |