diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2023-05-02 12:11:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-02 12:11:41 +0200 |
commit | 64ba5e4ed1456bed159cfe7b41ed9175b8baf5c4 (patch) | |
tree | 9e0de7effc3ca0b49ce2c5ffb2c1462c626929c3 /launcher/MMCZip.h | |
parent | ae75585b52078ca6d89b4014668c08d9aea4a17b (diff) | |
parent | d80dee2a54a172fa19c0bc21486ee43ef2e3514d (diff) | |
download | PrismLauncher-64ba5e4ed1456bed159cfe7b41ed9175b8baf5c4.tar.gz PrismLauncher-64ba5e4ed1456bed159cfe7b41ed9175b8baf5c4.tar.bz2 PrismLauncher-64ba5e4ed1456bed159cfe7b41ed9175b8baf5c4.zip |
Merge pull request #833 from Ryex/advanced_copy_instance
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 |