Commit Graph

9324 Commits

Author SHA1 Message Date
fd9c80db62 fix: fix system icons
This sets the fallback icon theme to the current(system default) icon theme before
launcher specific themes are applied

And removes `Inherits` line of multimc/legacy icon theme because it can end up making it
inherit a default theme set from /usr/share/icons/default/index.theme
instead of the user configured theme (probably a qt bug?)

Signed-off-by: leia uwu <leia@tutamail.com>
2024-11-30 11:35:41 -03:00
7e76638f2c Only disable library validation if using ad-hoc signature
While not needed for regular releases, it is needed for CI when an Apple Developer account isn't available and you can only perform an ad-hoc signature.

Signed-off-by: Kenneth Chew <79120643+kthchew@users.noreply.github.com>
2024-11-29 21:18:07 -05:00
884f15da1e Remove unnecessary hardened runtime exceptions
These are cruft from an older time when the launcher was ad-hoc signed, and the OS couldn't tell the libraries and launcher were signed by the same party.

Additionally, add a workaround to send the necessary library injection to the game if Steam overlay is used despite library validation being on for the launcher.

Signed-off-by: Kenneth Chew <79120643+kthchew@users.noreply.github.com>
2024-11-29 21:18:06 -05:00
ba0bd5fd74 Use shared pointer to store server query task
Signed-off-by: iTrooz <hey@itrooz.fr>
2024-11-29 19:42:54 +01:00
1477d64400 add m_ prefix to class members
Signed-off-by: iTrooz <hey@itrooz.fr>
2024-11-29 19:42:52 +01:00
4aaf7b9b09 chore
Signed-off-by: iTrooz <hey@itrooz.fr>
2024-11-29 14:07:39 +01:00
fd1cb1b58b DCO Remediation Commit for iTrooz <hey@itrooz.fr>
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: fac521a312
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 43a54cafef
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: ee35ac5afd
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 99ac11bc40
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 8fa1dff17d
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 2f70115be5
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: ea2a2349f8
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 87c9066a2b
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: fe28a051d5
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 0a379a05ff
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 6a7678a6e9
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: cba7e2dc36
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 8cf0c2029c
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 0d830e56e9
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: b35cffb347
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 1f094b9803
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 2d06e0a111
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: c3543b104b
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 8b7040d416
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: b8035ca078
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 9d5727e36b
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 7cf24586c2
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 7d04f0ee75
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 60fb922ba2
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: a79a66c177
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 1fb0fe0171
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 5cfb5a6f0d
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 9ce5eaaa0c
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 0c6f78dee2
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 7c8d2c9b55
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 24b9815763
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 7d2da19418
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: ca6d66970e
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 520d6b0b42
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 4fad298d67
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 087ab70143
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 7c61fec8e0
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: fef8ee2d1b
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 3a9c030982
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: f05548f3a3
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 66f36195d8
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: ca52d00b80
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 26f50f9b81
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 873232ebe3
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 8b90a9f2b3
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: dbb88ca7df
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 6f9be258dc
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: d124e2e0cb
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: cfb0c97262
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 5eb417ff2b
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 3fb6764ea4
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: ae7d3379e4
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 09782745c6
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: b0778e7a1f
I, iTrooz <hey@itrooz.fr>, hereby add my Signed-off-by to this commit: 01db826ec9

Signed-off-by: iTrooz <hey@itrooz.fr>
2024-11-29 01:01:32 +01:00
01db826ec9 Reset online players UI component when refreshing 2024-11-29 00:58:08 +01:00
b0778e7a1f chore 2024-11-29 00:44:31 +01:00
09782745c6 make writePacketToSocket() clear data automatically 2024-11-29 00:44:25 +01:00
ae7d3379e4 abort current query task if present when refreshing 2024-11-29 00:39:43 +01:00
3fb6764ea4 fix typo 2024-11-29 00:13:43 +01:00
5eb417ff2b Always autodelete signal connections with this captured when the objet is deleted, just to be sure 2024-11-28 23:54:51 +01:00
616aa002e1 Merge pull request #2875 from Jan200101/PR/switcheroo
[Linux] Integrate switcheroo-control for discrete GPU support
2024-11-28 20:02:58 +00:00
cfb0c97262 use Json::requireInteger() 2024-11-28 18:09:38 +01:00
d124e2e0cb cleanup 2024-11-28 17:50:55 +01:00
6f9be258dc add documentation about task abortion 2024-11-28 17:49:35 +01:00
dbb88ca7df move ServerPingTask in its own file 2024-11-28 17:46:42 +01:00
8b90a9f2b3 remove infinite loop from readVarInt() 2024-11-28 17:32:49 +01:00
873232ebe3 remove infinite loop in writeVarInt() 2024-11-28 17:29:35 +01:00
e0faee7f26 ci(flatpak): update build artifact name
Just aligning the name of the Flatpak package with other build artifacts.

Signed-off-by: guihkx <626206+guihkx@users.noreply.github.com>
2024-11-27 14:35:15 -03:00
26f50f9b81 connect job to deletion task before starting it
This ensures the signal is not fired before we have connected it
2024-11-26 18:50:37 +01:00
ca52d00b80 replace std::string by QString in emitFail() 2024-11-26 18:47:13 +01:00
66f36195d8 simplify code 2024-11-26 18:44:21 +01:00
f05548f3a3 remove implicit captures 2024-11-26 18:43:14 +01:00
3a9c030982 Do not timeout after just 3000ms
Keep the network default timeout
2024-11-26 18:24:46 +01:00
fef8ee2d1b Disconnect task finished signal when ServersModel is destroyed 2024-11-26 18:16:15 +01:00
7c61fec8e0 Make task output online players rather than updating Server itself
This doesn't really change anything
2024-11-26 18:03:35 +01:00
f6770a847a flatpak: update KDE runtime to 6.8
This also switches to the Docker image provided and maintained by
Flathub collaborators through the 'flathub-infra' organization on
GitHub, because it looks better maintained at the moment.

Signed-off-by: guihkx <626206+guihkx@users.noreply.github.com>
2024-11-26 13:51:09 -03:00
4a50e94967 flatpak: update xrandr to 1.5.3
Signed-off-by: guihkx <626206+guihkx@users.noreply.github.com>
2024-11-26 13:51:09 -03:00
087ab70143 refresh UI when we got the players online 2024-11-26 14:33:02 +01:00
4fad298d67 put more McClient methods to private 2024-11-26 13:22:02 +01:00
520d6b0b42 run socket code in thread 2024-11-26 13:22:00 +01:00
ca6d66970e add documentation for Task and ConcurrentTask 2024-11-25 23:49:03 +01:00
514ec99a03 Integrate switcheroo-control for discrete GPU support
Signed-off-by: Jan200101 <sentrycraft123@gmail.com>
2024-11-25 22:29:39 +01:00
6c062c48b4 Merge pull request #3130 from Kationor/trimversion
Improve MANIFEST.MF parsing
2024-11-25 10:05:02 +00:00
7d2da19418 make McResolver have the same signal name conventions as Task 2024-11-25 01:09:47 +01:00
24b9815763 cleanup 2024-11-25 00:16:46 +01:00
7c8d2c9b55 always delete McResolver object, even when it fails 2024-11-25 00:16:25 +01:00
0c6f78dee2 communicate when ServerPingTask succeeds/fails 2024-11-25 00:10:17 +01:00
9ce5eaaa0c fix job being deleted before tasks are finished 2024-11-24 23:54:19 +01:00
b40a1973bf Improve MANIFEST.MF parsing
Previously, we would only properly parse LF-encoded manifests, and even
those only if they used the recommended casing.

This commit allows the parser to recognise CR and CRLF newlines, and
also makes the name comparison case insensitive to align with the
specification. (Though not completely: we still don't support multiline
values)

Signed-off-by: Kationor <n96211028@gmail.com>
2024-11-24 19:30:59 +01:00
a09af619ce Make FTB Import note italic to match others
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2024-11-24 20:29:07 +02:00
835944387b Merge pull request #3128 from QazCetelic/naming-clang-tidy
Add naming check in `.clang-tidy` file
2024-11-24 16:10:41 +00:00
5cfb5a6f0d do not capture things implicitely in lambdas 2024-11-24 16:37:42 +01:00
d927c539b5 Update CONTRIBUTING.md conventions section
Signed-off-by: QazCetelic <qaz.cetelic@protonmail.com>
2024-11-23 19:55:40 +01:00
14454faac8 Use old list style
Signed-off-by: QazCetelic <qaz.cetelic@protonmail.com>
2024-11-23 18:21:03 +01:00
2351531e84 Add naming checks to clang-tidy
Signed-off-by: QazCetelic <qaz.cetelic@protonmail.com>
2024-11-23 18:15:07 +01:00
33ff3b4f36 Fix naming
Signed-off-by: QazCetelic <qaz.cetelic@protonmail.com>
2024-11-23 18:10:33 +01:00
11e7b218d4 Merge pull request #3113 from PrismLauncher/update_flake_lock_action
chore(nix): adopt new darwin SDK pattern
2024-11-22 18:25:21 -05:00