Commit graph

918 commits

Author SHA1 Message Date
Alexandru Ionut Tripon
b114d043f6
Use an owning QByteArray in ByteArraySink (#5050) 2026-03-02 16:53:22 +00:00
TheKodeToad
316121ba8f
Use an owning QByteArray in ByteArraySink
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-02-18 00:31:05 +00:00
Alexandru Ionut Tripon
4a46726cc9
Don't manually format UUIDs (#5045) 2026-02-17 20:40:53 +00:00
Alexandru Ionut Tripon
71abf3beec
Download game files during instance creation (#4944) 2026-02-17 20:23:06 +00:00
Octol1ttle
d81fa77d1f
fix: don't manually format UUIDs
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-18 01:14:35 +05:00
m0nstrum
3576c2f101 fix(flame): gate modrinth fallback parsing on success
Signed-off-by: m0nstrum <m0nstrum@proton.me>
2026-02-16 23:22:16 +03:00
m0nstrum
f2cf982ea8 fix(flame): avoid double-fail assert in file resolving
Signed-off-by: m0nstrum <m0nstrum@proton.me>
2026-02-16 16:58:34 +03:00
Octol1ttle
31971b2746
fix: don't return instance if creation didn't succeed
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-04 09:11:09 +05:00
Octol1ttle
4afbd9da01
oops
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-04 09:11:09 +05:00
Octol1ttle
625f0060a1
feat: download game files during instance creation
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-04 09:11:09 +05:00
Octol1ttle
aa9896031d
refactor(InstanceCreationTask): return created instance to caller
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-04 09:11:08 +05:00
Octol1ttle
e7382fd43d fix(ModrinthCheckUpdate): always increment loader index
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-01 07:57:14 +01:00
Alexandru Ionut Tripon
ef1e35d585
Track dependencies in Mods page (#3738) 2026-01-31 20:28:01 +02:00
Alexandru Ionut Tripon
e541e6dd80
Add back FTB modpack support (#3559) 2026-01-31 20:26:46 +02:00
Alexandru Ionut Tripon
fda9e74972
Remove systeminfo; move getSystemRam into SysInfo.h (#4323) 2026-01-31 20:24:40 +02:00
Alexandru Ionut Tripon
6809d46ab6
remove followSymlinks calls (#4650) 2026-01-30 13:10:26 +02:00
Octol1ttle
584dc47da5
chore: remove double spaces from logs
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-29 19:15:27 +05:00
Alexandru Ionut Tripon
1a135af7de
refactor: replace std::list with std::vector (#4833) 2026-01-22 22:48:52 +02:00
Alexandru Ionut Tripon
8abaea382d
Add missing returns after task signal activation (#4836) 2026-01-22 22:39:43 +02:00
Octol1ttle
29afecdbde
ModrinthCheckUpdate: don't send a request that is doomed to fail
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-22 22:34:44 +05:00
Octol1ttle
e27246c3f9
fix: add missing returns after emitSucceeded
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-21 18:30:31 +05:00
Octol1ttle
507de0fcbd
fix: add missing returns after emitFailed/Aborted
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-21 18:30:31 +05:00
Octol1ttle
19b9557c19
refactor: replace std::list with std::vector
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-21 12:19:55 +05:00
Seth Flynn
fd91f87c21
style: re-format tree with editorconfig
```
find $PWD \
  -type f \
  ! -path '*/.git/*' ! -path '*/flatpak/shared-modules/*' \
  ! -path '*/libraries/*' ! -path '*/testdata/*' ! -name '*.patch' \
  ! -name '*.svg' ! -name '*.scd' ! -path '*/program_info/LICENSE' \
  ! -path '*/COPYING.md' ! -path '*/cmake/*' ! -name '.gitmodules' \
  -exec eclint -fix {} \;
```

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2026-01-18 15:48:07 -05:00
Trial97
77f41a2a29
fix build
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-01-17 18:15:55 +02:00
Trial97
e5aa5e298f
remove followSymlinks calls
most probably they were used incorectly anyway

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-01-17 17:31:51 +02:00
Trial97
38ac238cfa
fix packwiz log spam
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-01-17 17:26:22 +02:00
Trial97
bacce134c0
feat: store provider dependencies
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-01-17 17:26:21 +02:00
Trial97
7ee4b35aee
chore: update link and sync with other providers changes
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-01-17 17:25:20 +02:00
Trial97
c27bc436da
Revert "chore: remove FTB modpack support"
This reverts commit ff07714e8c.

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-01-17 17:25:20 +02:00
Alexandru Ionut Tripon
2e8256e322
fix ftb import for old packs (#4787) 2026-01-17 17:03:59 +02:00
Trial97
d05b996c8a
fix build
also fixed some warninigs of unused vars and formated the code again

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-01-17 02:28:56 +02:00
Trial97
3496b7b3a0
fix ftb import for old packs
fixes #4786

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-01-17 01:22:25 +02:00
Octol1ttle
c24fd2f570
refactor(instance creation): use RAII lock to suspend instance settings saving
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-11 21:00:04 +05:00
Octol1ttle
549405ab2f
refactor!!!: migrate from shared pointers
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-11 21:00:03 +05:00
Trial97
53acc60983
format the code
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-01-09 22:28:25 +02:00
Trial97
b1408775b3
fix Pre-release filter
introduced here https://github.com/PrismLauncher/PrismLauncher/pull/3260
fixes #4415
reason: some snapshot have Pre-Release in our meta but when searching in
Modrinth this needs to be translated to -pre and the reverse needed to
be done for filtering after we fetched the version.
Now there are snapshots with -pre in name and that works with Modrinth
but when we translate it back we replace it with Pre-Release so the
easeiest patch is just to double the version(one with -pre one with
Pre-Release)

The correct one would be to complicate the code and identify the
versions that need the transition and only apply this for those.

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-12-22 19:55:47 +02:00
Rachel Powers
d1b6d7c402
chore: Re-simplify IndexVersionType and MessageLevel with c++20
This sets our compiler requirements to gcc 11 and clang 13. If we
forgo the use of `using enum` we can drop to gcc 10 and clang 10 but
that means using `MessageLevel::Enum::Unknown` for direct enum access

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2025-12-11 09:59:33 -07:00
TheKodeToad
de5c7bac72
Simplify IndexedVersionType::VersionType -> IndexedVersionType
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-12-07 14:34:00 +00:00
TheKodeToad
283d49ba35
Merge remote-tracking branch 'upstream/develop' into desysteminfo
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-12-07 11:58:21 +00:00
Trial97
aa265a45ee
fix nix build
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-11-26 18:41:56 +02:00
Trial97
8cace06df9
move libarchive outside bundle libs
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-11-26 18:41:22 +02:00
Trial97
30ef158716
finish moving all code to libarchive
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-11-26 18:40:41 +02:00
Trial97
f38a0c8f98
move more zip parsings
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-11-26 18:40:40 +02:00
Trial97
8c36be048c
move ExtractZipTask
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-11-26 18:39:18 +02:00
Trial97
60b2585711
move some functions from MMCZip to use libarchive
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-11-26 18:39:18 +02:00
Trial97
fa930afe4b
move ExportToZipTask
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-11-26 18:39:18 +02:00
Seth Flynn
63e6fc28dc
change packwiz extra warnings to debug (#4388) 2025-11-26 11:24:24 -05:00
Edvin Bryntesson
9e614f94cd
fix FTBA instance loading
Signed-off-by: Edvin Bryntesson <epost@edvinbryntesson.se>
2025-11-24 13:33:54 +01:00
TheKodeToad
19aab36a4d
Merge branch 'develop' into desysteminfo
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-11-23 16:23:27 +00:00