aboutsummaryrefslogtreecommitdiff
path: root/logic/LegacyUpdate.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-08-28 21:52:19 +0200
committerPetr Mrázek <peterix@gmail.com>2013-08-28 21:52:19 +0200
commit78e278c1e33e39eb29a26a976b19ea6a8150bfff (patch)
tree05c9c5a591b706d086930105b0e187e6266f0bb4 /logic/LegacyUpdate.h
parent93bb7c87e3274124465f0858c20091784f84edb1 (diff)
downloadPrismLauncher-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.h7
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;