b0940d696b
Added QFutureWatcher
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
abort
forgot
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-07-17 17:52:00 +03:00
2ea4a78541
Upgraded ExportToZipTask
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-07-17 17:24:23 +03:00
4df9df03ab
Update launcher/MMCZip.cpp
...
Co-authored-by: Tayou <31988415+TayouVR@users.noreply.github.com >
Signed-off-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com >
2023-07-16 23:47:47 +03:00
79222a56e3
use shared pointer
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
use shared pointer
2023-07-16 21:14:39 +03:00
cadb7142f0
Added progress bar to Prism instance export
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-07-16 20:57:57 +03:00
251055302e
format
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-07-16 20:53:58 +03:00
2837236d81
fix: intelegent recursive links & symlink follow on export
...
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com >
2023-03-20 14:56:32 -07:00
c9105e525e
fix: follow symlinks when exporting
...
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com >
2023-03-20 14:56:32 -07:00
06de728aa7
fix: use toLocalFile()
instead of path()
...
QUrl::path() adds a '/' at the beginning of the path on Windows, causing
the world to explode every once in a while.
Signed-off-by: flow <flowlnlnln@gmail.com >
2023-03-05 08:24:56 -03:00
fda9ca1e34
fix+refactor: fix fail to import modpacks and clean up a bit
...
QDir::cleanPath called by FS::PathCombine removes the trailing '/'...
Signed-off-by: flow <flowlnlnln@gmail.com >
2023-02-24 20:09:02 -03:00
e70a5a47ee
fix: ignore absolute paths when extracting
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2023-02-10 10:46:21 +01:00
6be7eed878
fix: don't extract files outside of target path
...
This should fix a security issue regarding path traversal in zip files.
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2023-02-10 09:17:48 +01:00
a116778402
fix(Inst.Import): don't search inside 'overrides/' for the manifest
...
It will never be there anyways, and saves a **bunch** of time when the
overrides folder is big and we traverse all the tree when searching for
the MMC 'instance.cfg' file.
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-12-01 15:15:15 -03:00
3225f514f6
refactor: move general info from Mod to Resource
...
This allows us to create other resources that are not Mods, but can
still share a significant portion of code.
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-08-20 10:41:59 -03:00
94a63e3859
Merge pull request #941 from Scrumplex/bump-cxx-standard
...
Bump to C++17
2022-07-30 17:10:59 +01:00
1157436a24
fix: sigsegv when trying to use jar mods
...
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-07-23 14:24:24 -03:00
c666c3e251
refactor!: bump to C++17 and C17
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2022-07-20 14:22:10 +02:00
c4316e81e6
change: make Mod a QObject used as a pointer
...
Prevents problems when copying it around!
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-07-17 11:33:44 -03:00
c363423718
refactor: fix deprecation up to Qt 6
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2022-07-10 12:19:15 +02:00
7f62de3854
fix: don't create unnecessary folders when extracting ZIPs
2022-06-19 22:03:02 -03:00
fab4a7a602
refactor: abstract metadata handling and clarify names
2022-05-23 14:42:28 -03:00
82760f4b91
fix: import modrinth packs with weird overrides structure
...
Probably because of Packwiz limitations, or an space optimizer that did
this :)
2022-05-16 12:11:50 -03:00
a160bd0062
chore: add license header to files I modified
2022-03-19 12:46:56 +01:00
c4cb7ddc4f
fix: bring back JAR Folder mods
...
what is this?
2022-01-31 21:40:59 +01:00
a8089b76c0
fix: bring back instance exports
2022-01-31 21:40:59 +01:00
0442b80a2c
refactor: simpler includes for quazip
2022-01-31 21:40:59 +01:00
81c72c2038
refactor: bring back methods that need to be reimplemented
2022-01-31 21:40:59 +01:00
3aa809b8c0
refactor: add in-tree QuaZip
2022-01-31 21:40:59 +01:00
efa414c442
refactor: initial migration to QuaZip 1.2
...
Let's move off our custom QuaZip. In the olden times we needed the
custom version of QuaZip, as it was basically unmaintained and on
SourceForge (eww). But nowadays it's maintained and on GitHub. See
new GitHub page: https://github.com/stachenov/quazip
2022-01-31 21:40:59 +01:00
20b9f2b42a
NOISSUE Flatten gui and logic libraries into MultiMC
2021-07-25 19:50:44 +02:00