aboutsummaryrefslogtreecommitdiff
path: root/launcher/MMCZip.h
diff options
context:
space:
mode:
authorRachel Powers <508861+Ryex@users.noreply.github.com>2023-05-07 13:21:21 -0700
committerRachel Powers <508861+Ryex@users.noreply.github.com>2023-05-07 13:21:21 -0700
commit884ac7307817e10f04512a29213a017ca344c16d (patch)
tree37bcb97dfec8516edba3501a5475b1daf314d2b7 /launcher/MMCZip.h
parent718abaae0ef465050c81c0dfba63ce9f0fff17fc (diff)
parentce5bb29c442cee3654c5f4287a999d5d6593032f (diff)
downloadPrismLauncher-884ac7307817e10f04512a29213a017ca344c16d.tar.gz
PrismLauncher-884ac7307817e10f04512a29213a017ca344c16d.tar.bz2
PrismLauncher-884ac7307817e10f04512a29213a017ca344c16d.zip
Merge remote-tracking branch 'upstream/develop' into better-tasks
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
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