Commit graph

5528 commits

Author SHA1 Message Date
Octol1ttle
6f0e053f4d
chore: add TODO for potential future race condition
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-18 00:19:32 +05:00
Octol1ttle
9f94b00925
change: use different message when launching with no account selected
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-18 00:19:32 +05:00
Octol1ttle
f7deeb0db4
no recursion
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-18 00:19:32 +05:00
Octol1ttle
5d0360ccec
style things
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-18 00:19:32 +05:00
Octol1ttle
a9f3be9f45
refactor: LaunchController
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-18 00:19:30 +05:00
Alexandru Ionut Tripon
ba325a6012
Fix InstanceStaging reentry crash during Modrinth pack updates (#4982) 2026-02-17 18:28:27 +00: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
Işık
44eb2dc290
ui: implement smooth scrolling across all listing views
Signed-off-by: Işık <kimurathankurai@gmail.com>
2026-02-14 18:39:41 +03:00
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
71278ff7ea
Add opt-in for showing mod incompatibilities
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-02-12 22:37:15 +00:00
TheKodeToad
b664846030
Allow multiple compat issues to be displayed, make game version incompat clearer
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-02-12 22:36:59 +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
TheKodeToad
9cb33b519f
Render incompatibility highlight and warning
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-02-12 18:56:57 +00:00
TheKodeToad
081d2f1e51
Reduce duplication in ResourceFolderModel subclasses
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-02-12 18:56:56 +00:00
TheKodeToad
e2d503456f
Detect resources incompatible with the MC version
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-02-12 18:56:38 +00:00
Alexandru Ionut Tripon
157ae6fb72
Application.h cleanup (#4502) 2026-02-11 15:44:19 +00:00
Octol1ttle
e5fe2c100e
change button text in Modrinth and Flame imports
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-11 20:32:36 +05:00
Trial97
fe5aee2619
fix crash with skin format
fixes #4994
All the formats lower than Format_Indexed8 will have less information
and can't be used directly.
Also added the check for alphaChannel check just to be sure.

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-02-11 13:35:40 +02:00
Octol1ttle
f59e5b2df9
change: set abort button to "Skip" when downloading game files
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-10 22:42:19 +05: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
abhicommands
68f98491d5
Fix InstanceStaging success reentry assertion crash
Signed-off-by: abhicommands <114682464+abhicommands@users.noreply.github.com>
2026-02-06 22:42:32 -05: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
TheKodeToad
9ca3739465
Remove outdated 'friends for the purpose of limiting access to deprecated stuff' comment
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-02-06 11:18:24 +00:00
TheKodeToad
8cbcadaca2
PSaveFile: use a type alias instead of a macro
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-02-06 11:18:23 +00:00
TheKodeToad
327a554d42
MangoHud: rename to LibraryUtils
It handles more than mangohud

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-02-06 11:17:12 +00:00
TheKodeToad
248eb13ab9
Agent: Simplify and avoid unnecessary shared_ptr
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-02-06 11:17:12 +00:00
TheKodeToad
77ebf65c7d
GradleSpecifier: use defaulted == operator
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-02-06 11:17:12 +00:00
TheKodeToad
2f524c7a80
GradleSpecifier: directly initialise in constructor
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-02-06 11:17:12 +00:00
TheKodeToad
eba6ffb37b
GradleSpecifier: Use std::optional instead of DefaultVariable
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-02-06 11:17:12 +00: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
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
d464c1ea68
fix: properly set details in InstanceCreationTask
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-04 09:11:09 +05:00
Octol1ttle
f085a0ef25
fix: use translated "Aborted"
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-04 09:11:09 +05:00
Octol1ttle
7bcd2dd768
fix: properly emit aborted instead of failed
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