aboutsummaryrefslogtreecommitdiff
path: root/launcher/MMCZip.h
diff options
context:
space:
mode:
authorRachel Powers <508861+Ryex@users.noreply.github.com>2023-05-12 01:00:26 -0700
committerRachel Powers <508861+Ryex@users.noreply.github.com>2023-05-12 01:00:26 -0700
commit82287e0407318724c5a460340eef2855c75449e8 (patch)
treef083d018d24ce86a02cc8d1edce9b56ef0f4f93d /launcher/MMCZip.h
parenta3173b53717fcea686f267f4eb8fd9788e6677db (diff)
parentc5aff7cc1ef43a1326bd3ce0c83e29669e2ff43f (diff)
downloadPrismLauncher-82287e0407318724c5a460340eef2855c75449e8.tar.gz
PrismLauncher-82287e0407318724c5a460340eef2855c75449e8.tar.bz2
PrismLauncher-82287e0407318724c5a460340eef2855c75449e8.zip
Merge branch 'develop' into curseforge-url-handle
Diffstat (limited to 'launcher/MMCZip.h')
-rw-r--r--launcher/MMCZip.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/launcher/MMCZip.h b/launcher/MMCZip.h
index 81f9cb90..2a78f830 100644
--- a/launcher/MMCZip.h
+++ b/launcher/MMCZip.h
@@ -59,18 +59,20 @@ namespace MMCZip
* \param zip target archive
* \param dir directory that will be compressed (to compress with relative paths)
* \param files list of files to compress
+ * \param followSymlinks should follow symlinks when compressing file data
* \return true for success or false for failure
*/
- bool compressDirFiles(QuaZip *zip, QString dir, QFileInfoList files);
+ bool compressDirFiles(QuaZip *zip, QString dir, QFileInfoList files, bool followSymlinks = false);
/**
* Compress directory, by providing a list of files to compress
* \param fileCompressed target archive file
* \param dir directory that will be compressed (to compress with relative paths)
* \param files list of files to compress
+ * \param followSymlinks should follow symlinks when compressing file data
* \return true for success or false for failure
*/
- bool compressDirFiles(QString fileCompressed, QString dir, QFileInfoList files);
+ bool compressDirFiles(QString fileCompressed, QString dir, QFileInfoList files, bool followSymlinks = false);
/**
* take a source jar, add mods to it, resulting in target jar