diff options
author | Trial97 <alexandru.tripon97@gmail.com> | 2023-05-03 00:56:26 +0300 |
---|---|---|
committer | Trial97 <alexandru.tripon97@gmail.com> | 2023-05-03 00:56:26 +0300 |
commit | 42dc3ed03f76f1064d6367a4d90f7cea895bcb6b (patch) | |
tree | 5923fa27324aef89b6539c69e8d4d242302097fd /launcher/MMCZip.h | |
parent | f6ed2036b34177d7f932007dc5b3cc3d59f99aea (diff) | |
parent | 64ba5e4ed1456bed159cfe7b41ed9175b8baf5c4 (diff) | |
download | PrismLauncher-42dc3ed03f76f1064d6367a4d90f7cea895bcb6b.tar.gz PrismLauncher-42dc3ed03f76f1064d6367a4d90f7cea895bcb6b.tar.bz2 PrismLauncher-42dc3ed03f76f1064d6367a4d90f7cea895bcb6b.zip |
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into Fix_Assert
Diffstat (limited to 'launcher/MMCZip.h')
-rw-r--r-- | launcher/MMCZip.h | 6 |
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 |