Commit graph

5195 commits

Author SHA1 Message Date
Alexandru Ionut Tripon
a90c438655
fix: replace gnome icons with oxygen ones in the multimc icon theme (#5012) 2026-02-13 07:15:23 +00:00
Alexandru Ionut Tripon
e6f2d824ab
Allow -Duser.language to be overriden (#5017) 2026-02-13 06:33:37 +00:00
TheKodeToad
6bbbfa06d1
Allow -Duser.language to be overriden
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-02-12 22:18:42 +00:00
TheKodeToad
1ad0628ca3
fix(SkinManageDialog): add missing QMenu include (#5015) 2026-02-12 21:49:42 +00:00
Alfred Wingate
67836213c5
fix(SkinManageDialog): add missing QMenu include
launcher/ui/dialogs/skins/SkinManageDialog.cpp: In member function ‘void SkinManageDialog::show_context_menu(const QPoint&)’:
launcher/ui/dialogs/skins/SkinManageDialog.cpp:344:18: error: variable ‘QMenu myMenu’ has initializer but incomplete type
  344 |     QMenu myMenu(tr("Context menu"), this);
      |                  ^~

Include appears to have been dropped transitively in either
0ba2c09787 or 45df360e4c

Signed-off-by: Alfred Wingate <parona@protonmail.com>
2026-02-12 23:26:27 +02:00
DioEgizio
43d2010960 fix: replace gnome icons with oxygen ones in the multimc icon theme
debian really wants this because of dfsg

Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2026-02-12 22:05:18 +01:00
DioEgizio
c0c9185a09
fix(macos): fix margins on macos (#4977) 2026-02-12 20:37:02 +00:00
Alexandru Ionut Tripon
157ae6fb72
Application.h cleanup (#4502) 2026-02-11 15:44:19 +00:00
Rachel Powers
45df360e4c
Reduce include chain further, forward declare settings and log model
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2026-02-09 20:03:10 -07:00
Rachel Powers
0ba2c09787
refactor(Application.h): reduce include chain
Include only what's absolutely necessary to reduce headers pulled into a
translation unit. If you need access to
instance's from `APPLICATION` include `BaseInstance.h` separately

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2026-02-09 19:16:58 -07:00
Rachel Powers
ffd50e318a
refactor(console): attach console early
also use RAII guard to free it instead of tracking it with a member variable

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2026-02-09 16:52:35 -07:00
Rachel Powers
e8da9ee4fb
feat: Auto handle Http 429 Too Many Requests with retry
- Must be explicitly enabled for a request
- Uses Retry-After Header if present, falls back to exponential back off
  starting with 10 seconds
- if retry delay is greater than 1 minute or it retries more than 3
  times then fail with a "Rate Limited" reason
- Sets task status to inform user of retry.

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2026-02-06 09:36:09 -07:00
DioEgizio
b13f40df51 fix(macos): fix margins on macos
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2026-02-06 16:53:25 +01:00
Alexandru Ionut Tripon
9171e2b2e1
Cache news feed (#4964) 2026-02-05 10:51:07 +00:00
Alexandru Ionut Tripon
620567e435
Remove retrieving Xbox API token for gamertag (#4958) 2026-02-04 19:26:14 +00:00
Sefa Eyeoglu
2030b481bf
feat: cache news feed
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2026-02-04 18:29:00 +01:00
Alexandru Ionut Tripon
f1a4721a6a
start core update task only if not running already (#4955) 2026-02-04 08:59:43 +00:00
Octol1ttle
d35155ca66
change(accounts): stop retrieving Xbox API token for gamertag
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-04 09:11:30 +05:00
Alexandru Ionut Tripon
083671e4b3
Improvements to ComponentUpdateTask (#4942) 2026-02-03 22:07:09 +00:00
Alexandru Ionut Tripon
131e8711aa
launcher/minecract/auth/AccountList.cpp: add missing QIcon include (#4956) 2026-02-03 21:59:41 +00:00
Octol1ttle
8e992a324c
change(AuthFlow): remove XboxProfileStep
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-03 21:28:44 +05:00
Octol1ttle
9fac7065a7
fix(XboxAuthorizationStep): set x-xbl-contract-version
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-03 21:26:18 +05:00
Alfred Wingate
8a53949f67
launcher/minecract/auth/AccountList.cpp: add missing QIcon include
In member function ‘virtual QVariant AccountList::data(const QModelIndex&, int) const’:
/var/tmp/portage/games-action/prismlauncher-9999/work/prismlauncher-9999/launcher/minecraft/auth/AccountList.cpp:331:35: error: incomplete type ‘QIcon’ used in nested name specifier
  331 |                     return QIcon::fromTheme("noaccount").pixmap(24, 24);
      |

Fixes: fc1e29111b
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2026-02-03 14:41:16 +02:00
Trial97
bc6a6e959b
start core update task only if not running already
This line crashes develop builds because the task is running already.

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-02-03 12:10:09 +02:00
Rachel Powers
da019c8425
fix: windows filelink results needs to capture by refrence
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2026-02-02 18:35:26 -07:00
Octol1ttle
02d1878a36
fix: manually copy task info when connecting
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-02 13:28:19 +05:00
Octol1ttle
a58e3049b9
change(ComponentUpdateTask): add status, details, and progress
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-02 13:27:10 +05:00
Octol1ttle
f007d90076
fix(ComponentUpdateTask): allow aborting
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-02 13:08:45 +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
Trial97
f943331e39
fix codeql
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-01-31 21:46:36 +02:00
Trial97
611b1b6911
fix build
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-01-31 20:55:09 +02: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
cd993671cf
update local pack by url (#4474) 2026-01-31 14:03:52 +02:00
Alexandru Ionut Tripon
3270288031
Add configurable option on ScrollMessageBox (#4335) 2026-01-31 14:03:32 +02:00
Alexandru Ionut Tripon
204f9c5d8e
Abort launch when there are libraries missing (#4899) 2026-01-30 13:10:46 +02:00
Alexandru Ionut Tripon
6809d46ab6
remove followSymlinks calls (#4650) 2026-01-30 13:10:26 +02:00
Alexandru Ionut Tripon
3a1bbdbe3a
Remove double spaces in logging (#4900) 2026-01-30 13:09:48 +02:00
Sefa Eyeoglu
27577e9d61
add more loaders to override setting (#4701) 2026-01-30 10:31:35 +01:00
Octol1ttle
ffd1e7bc33
improve wording
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-29 19:54:02 +05:00
Octol1ttle
158a7bbc34
got clang-format'd 💀
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-29 19:27:06 +05:00
Octol1ttle
584dc47da5
chore: remove double spaces from logs
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-29 19:15:27 +05:00
Octol1ttle
193840b237
style: reorder includes
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-29 18:17:22 +05:00
Octol1ttle
d4817a5669
feat: abort launch when there are libraries missing
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-29 18:14:23 +05:00
Octol1ttle
665aa4c546
change(MSAStep): log server errors
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-29 17:11:30 +05:00
Seth Flynn
cf63bccfd7
fix(MinecraftSettingsWidget): trim whitespace from path values
Should help in mitigating common mistakes in copy/pasting

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2026-01-27 17:59:12 -05:00
Octol1ttle
caec4ef96c
feat: allow overriding URL for downloading legacy FML libs
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-27 19:26:02 +05:00
Octol1ttle
f0a17d82d9
refactor: FMLLibrariesTask -> LegacyFMLLibrariesTask
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-27 19:24:13 +05:00
Alexandru Ionut Tripon
7945a7c626
Make Minecraft resource URL override consistent with other overrides (#4860) 2026-01-27 14:04:24 +02:00