Commit graph

4763 commits

Author SHA1 Message Date
Kenneth Chew
3e65d3a9b5
Apply selected style to window elements on macOS
Qt doesn't apply the proper style to elements such as the title bar or text shadows, so this must be done in native code.

Signed-off-by: Kenneth Chew <79120643+kthchew@users.noreply.github.com>
2025-07-16 00:34:42 -04:00
Seth Flynn
af73cfa20f
Add support for vcpkg (#3742) 2025-07-09 06:50:41 -04:00
seth
a5f5d14538
build(cmake): fallback to pkg-config discovery for tomlplusplus
Some distributions of it (like in vcpkg *wink*) won't contain CMake files

Signed-off-by: seth <getchoo@tuta.io>
2025-07-09 05:22:44 -04:00
Alexandru Ionut Tripon
4072e2fa3d
Modernize launcher bundling (#3741) 2025-07-09 11:13:06 +03:00
timoreo
37a9271d5b
propagate side as enum instead of Qstring (#3544) 2025-07-09 10:01:51 +02:00
Seth Flynn
f3b778342e
build(cmake): replace INSTALL_BUNDLE with install component
Considering this doesn't affect the build, it has never made much sense
for it to be a build option or require rereconfiguration of the project
to change

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-07-08 11:03:19 -04:00
seth
1688db055e
build: modernize launcher bundling
Replaces fixup_bundle with Qt's deployment scripts and CMake's newer
RUNTIME_DEPENDENCY_SET target, making it a bit easier to find and
include linked dependencies with less code on our end

Signed-off-by: seth <getchoo@tuta.io>
2025-07-08 11:03:19 -04:00
Seth Flynn
fde66a11ce
build(cmake): apply workaround for ninja in release mode on msvc
Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-07-04 05:13:01 -04:00
Seth Flynn
56fa6586ab
fix(ui/CustomCommands): memory corruption in labelPostExitCmd
Making a QLabel a buddy of itself causes a double free and crashing on
deconstruction in some cases (like MSVC)

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-07-03 01:20:45 -04:00
seth
71be6eb7d8
build: deploy pdbs with windows builds
Signed-off-by: seth <getchoo@tuta.io>
2025-06-30 15:22:51 -04:00
Trial97
53dcc15766
fix: icon import with dot in name
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-06-28 23:34:13 +03:00
Alexandru Ionut Tripon
497cea0bd5
fix typo in APIPage.ui (#3916) 2025-06-27 12:48:15 +03:00
Ismail
24d70c773e fix typo in APIPage.ui
Signed-off-by: Ismail <ismail.choudhury33@gmail.com>
2025-06-27 00:48:31 +01:00
Trial97
cdf8ad2c94
fix: escape quetes in shorcut creation arguments
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-06-25 13:13:42 +03:00
Alexandru Ionut Tripon
b6c1ce31a6
Fix crash wrong component (#3868) 2025-06-19 00:02:21 +03:00
Tayou
be2e2ec629
Improve the message when component metadata fails to download (#3884) 2025-06-17 10:14:39 +02:00
TheKodeToad
8711913ac3
Improve the message when component metadata fails to download
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-06-17 00:43:03 +01:00
Trial97
21de7a2d97
fix: crash when component version can't be loaded from atlauncher file
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-06-16 22:32:39 +03:00
Seth Flynn
d68269eca8
chore: move opacity after checkbox draw (#3848) 2025-06-10 06:51:20 -04:00
Seth Flynn
7e6292db25
feat: use build config url instead of hadcoded one (#3829) 2025-06-10 06:48:31 -04:00
TheKodeToad
a195b9981d
Use Task::getState
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-06-07 22:41:09 +01:00
TheKodeToad
06aece111a
Reset account state on abort
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-06-07 20:25:21 +01:00
TheKodeToad
834eb5a90d
Don't retry account refresh if aborted
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-06-07 16:32:40 +01:00
Trial97
8a80ccae3a chore: move oppacity after checkbox draw
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-06-07 09:10:03 +03:00
TheKodeToad
f0388d04bf
Fix MessageLevel.h error when compiling on Debian Stable
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-06-06 23:42:43 +01:00
Yihe Li
836c558c6c
Merge branch 'develop' into launcher-log-page 2025-06-06 21:36:03 +08:00
Tayou
f17e443b12
chore: fix some codeql warnings (#3838) 2025-06-06 15:20:07 +02:00
Tayou
87d199fae8
feat: fade installed resources in the download dialog (#3732) 2025-06-06 14:42:43 +02:00
Tayou
ae9e4835c4
fix: qr code overlaping with text when adding account (#3753) 2025-06-06 14:32:39 +02:00
Tayou
9cdfeb5fcd
add options to change the cat scalling (#3380) 2025-06-06 14:23:39 +02:00
Tayou
a17ea196c1
chore: fix some codeql warnings (#3840) 2025-06-06 14:19:27 +02:00
Alexandru Ionut Tripon
2d90144cd9
More intuitive version changing for modpacks (#3841) 2025-06-06 08:12:52 +03:00
Alexandru Ionut Tripon
36572a63f0
fix: crash with global datapacks on export (#3843) 2025-06-06 08:12:40 +03:00
Trial97
09dcfa4b65
feat: fade installed resources in the download dialog
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-06-05 18:41:09 +03:00
Yihe Li
25907ea8c6
Forgot to reset pointer to nullptr
Signed-off-by: Yihe Li <winmikedows@hotmail.com>
2025-06-05 23:22:49 +08:00
Yihe Li
dea8de01e3
Merge branch 'develop' into launcher-log-page 2025-06-05 23:20:46 +08:00
Yihe Li
842662c24f
Merge branch 'develop' into launcher-log-page 2025-06-05 23:20:15 +08:00
Yihe Li
d77889f26d
Change log to be a QMainWindow
Signed-off-by: Yihe Li <winmikedows@hotmail.com>
2025-06-05 23:15:55 +08:00
Trial97
37f8b2f563
fix: crash with global datapacks on export
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-06-05 17:50:47 +03:00
Yihe Li
c57ba911cf
Remove unnecessary QObject::
Signed-off-by: Yihe Li <winmikedows@hotmail.com>
2025-06-05 21:41:06 +08:00
Yihe Li
4a9b3d2f5f
Remove usage of SIGNAL/SLOT macro
Signed-off-by: Yihe Li <winmikedows@hotmail.com>
2025-06-05 21:35:19 +08:00
Yihe Li
58a28f319a
More intuitive version changing for modpacks
Signed-off-by: Yihe Li <winmikedows@hotmail.com>
2025-06-05 20:20:34 +08:00
Yihe Li
ef3bf75715
Remove some duplicate code
Signed-off-by: Yihe Li <winmikedows@hotmail.com>
2025-06-05 16:15:29 +08:00
Trial97
7ea15c31a1
chore: fix some codeql warnings
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-06-05 09:45:25 +03:00
Yihe Li
e4a801fdf7
Use separate window for viewing logs
Signed-off-by: Yihe Li <winmikedows@hotmail.com>
2025-06-05 07:18:13 +08:00
Trial97
4f5db2e49f
chore: fixe some codeql warnings
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-06-05 00:34:45 +03:00
Alexandru Ionut Tripon
0136c2e82a
Fix crash and make loader override more consistent (#3827) 2025-06-04 22:20:13 +03:00
Yihe Li
1aa8d7bc13
Reuse OtherLogsPage directly
Signed-off-by: Yihe Li <winmikedows@hotmail.com>
2025-06-03 15:44:17 +08:00
Alexandru Ionut Tripon
6d9eac6766
remove: unused files (#3740) 2025-06-03 08:42:09 +03:00
Yihe Li
289645266a
Add support for view older launcher logs
Signed-off-by: Yihe Li <winmikedows@hotmail.com>
2025-06-03 06:08:32 +08:00