Commit graph

10354 commits

Author SHA1 Message Date
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
Seth Flynn 686ad72e03
build: add clang-format target
Through the power of CMake itself, we can format our files

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2026-01-18 15:48:01 -05:00
Tayou 1c4d378fc4
fix: improve we couldn't launch after 3 tries message (#4805) 2026-01-18 20:25:34 +01:00
Alexandru Ionut Tripon e8b5d49154
Take $GRADLE_USER_HOME into account when looking for JDKs (#4790) 2026-01-18 01:17:46 +02:00
DioEgizio d5da7c9bde fix: improve we couldn't launch after 3 tries message
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2026-01-17 22:05:57 +01:00
Alexandru Ionut Tripon 2e8256e322
fix ftb import for old packs (#4787) 2026-01-17 17:03:59 +02:00
Sefa Eyeoglu ff34760868
fix build (#4795) 2026-01-17 15:41:57 +01: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
Alexandru Ionut Tripon 78bc6657f4
Allow moving accounts in list (#4647) 2026-01-17 02:08:19 +02:00
Alexandru Ionut Tripon edf1840225
Add icons in settings account list (#4684) 2026-01-17 02:08:02 +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
TheKodeToad 6848d60cad
refactor!!!: migrate from shared pointers (#4673) 2026-01-16 20:32:17 +00:00
SandaruKasa 267e8f1d33 Take $GRADLE_USER_HOME into account when looking for JDKs
Signed-off-by: SandaruKasa <sandarukasa@ya.ru>
2026-01-16 21:16:14 +03:00
Alexandru Ionut Tripon 5f89187719
Fix instance and settings window minimum size (#4769) 2026-01-14 23:24:12 +02:00
Alexandru Ionut Tripon 07100658a8
Allow opting out of pre-compiled headers (#4768) 2026-01-14 23:21:26 +02:00
TheKodeToad d283726494
Fix new instance window being too large
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-01-14 17:07:58 +00:00
TheKodeToad 40c6f79b5f
Fix settings window being too large
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-01-14 17:07:58 +00:00
TheKodeToad 90e3c59bd8
Fix JavaWizardWidget compilation without PCH
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-01-14 16:20:32 +00:00
TheKodeToad 3a16cf3081
Allow toggling pre-compiled headers
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-01-14 16:20:26 +00:00
Alexandru Ionut Tripon 9ced66e990
Fix for Prism failing to recognize some shader pack ZIP archives added manually by the user (#4745) 2026-01-14 13:51:47 +02:00
Alexandru Ionut Tripon 2f1ab0162b
IconList: Make sure we always set new path (#4753) 2026-01-14 13:50:46 +02:00
Alexandru Ionut Tripon 5a9382d29b
chore: make appimage use portals for file picking (#4759) 2026-01-14 13:50:29 +02:00
Alexandru Ionut Tripon 35e64ae2c6
accept libarchive warning result (#4761) 2026-01-14 13:50:01 +02:00
Trial97 a6d6ff9926
accept libarchive warning result
this is the intended behavior to treat warnings as ok, because
teoretically the file was extracted, even if the time of the file can't
be set

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-01-14 00:17:17 +02:00
DioEgizio 1b15643fcd chore: make appimage use portals for file picking
much better than Qt's ugly default one

Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2026-01-13 15:35:58 +01:00
Seth Flynn c2fc0a30b7
Free up disk space on Flatpak builds so they don't crash (#4755) 2026-01-13 01:14:57 -05:00
Octol1ttle eafce5d5f6
hack: try to free up disk space on Flatpak builds so they don't crash
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-12 23:30:14 +05:00
Alexandru Ionut Tripon 92a2e3b894
auth: improve status messages (#4750) 2026-01-12 20:11:52 +02:00
Octol1ttle 6cbedbe184
fix(IconList): make sure we always set new path
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-12 23:00:45 +05:00
SwitchAxe 809e766aec Fixed formatting
Signed-off-by: SwitchAxe <sofiacerasuoli@gmail.com>
2026-01-12 16:44:01 +01:00
SwitchAxe 7f0f90fcce Improved the check for the assets dir
Signed-off-by: SwitchAxe <sofiacerasuoli@gmail.com>
2026-01-12 14:43:54 +01:00
Octol1ttle 6cddc28e9b
auth: improve status messages
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-12 16:48:46 +05:00
SwitchAxe 8aba994312 Made the loop more efficient
Signed-off-by: SwitchAxe <sofiacerasuoli@gmail.com>
2026-01-12 03:36:52 +01:00
Sofia 6321db5942
Update launcher/minecraft/mod/tasks/LocalShaderPackParseTask.cpp
Co-authored-by: Octol1ttle <l1ttleofficial@outlook.com>
Signed-off-by: Sofia <75943257+SwitchAxe@users.noreply.github.com>
2026-01-12 03:25:43 +01:00
SwitchAxe 6ac9de7a11 Fixed Indentation
Signed-off-by: SwitchAxe <sofiacerasuoli@gmail.com>
2026-01-12 02:35:36 +01:00
SwitchAxe 9a93696915 Added support for shader packs with a top-level parent directory
Signed-off-by: SwitchAxe <sofiacerasuoli@gmail.com>
2026-01-12 02:13:56 +01:00
Alexandru Ionut Tripon 5a6f94fe79
Update copyright year (#4740) 2026-01-12 00:22:13 +02:00
Alexandru Ionut Tripon b7e508870d
Set current auth step description in correct method (#4733) 2026-01-12 00:22:01 +02:00
Alexandru Ionut Tripon 73dc92cedd
Fix auto-join getting stuck disabled (#4711) 2026-01-12 00:21:51 +02:00
Trial97 508a66aedd
Update copyright year
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-01-12 00:00:56 +02:00
Octol1ttle 01c1840531
refactor(InstanceList): use vector<unique_ptr> to store instances
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-11 21:00:04 +05: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 3937819305
CapeChange: use dummy sink
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
Octol1ttle f0813b578e
fix(AuthFlow): set current step description in correct method
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-11 20:05:00 +05:00
Alexandru Ionut Tripon c64d871a28
Network: log server response on error (#4726) 2026-01-11 15:19:26 +02:00
Alexandru Ionut Tripon 136ad59fad
Fix environment variables always being discarded and custom commands always being overriden (#4718) 2026-01-11 15:19:17 +02:00
Alexandru Ionut Tripon 2b04da0c36
Fix shaderpacks folder being hidden (#4707) 2026-01-11 15:19:00 +02:00
Octol1ttle 7f3790bf73
change(NetRequest): log server response on error
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-11 00:19:10 +05:00
Alexandru Ionut Tripon 62e17cd19e
fix modrinth environments filter (#4704) 2026-01-10 18:36:38 +02:00