Commit graph

9788 commits

Author SHA1 Message Date
TheKodeToad
a85babefaa
fix: use new Mojang API endpoint for Username->UUID resolution (#4012) 2025-07-27 13:53:35 +01:00
Octol1ttle
eefe0375af
fix(mojang api): use new endpoint for Username->UUID resolution
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2025-07-26 18:41:34 +05:00
Sefa Eyeoglu
b90cda5eef
chore(deps): update cachix/install-nix-action digest to c134e4c (#4004) 2025-07-24 10:12:38 +02:00
renovate[bot]
a8eea411e9
chore(deps): update cachix/install-nix-action digest to c134e4c 2025-07-23 23:28:11 +00:00
Alexandru Ionut Tripon
078de50951
make universal resource type (#3541) 2025-07-22 13:31:05 +03:00
Alexandru Ionut Tripon
e043242a8e
Reduce usage of [[nodiscard]] attributes (#3952) 2025-07-22 13:30:45 +03:00
Alexandru Ionut Tripon
a7f3cbb6f5
Add "Babric" and "BTA (Babric)" filters as shown on Modrinth (#3961) 2025-07-22 13:30:33 +03:00
Alexandru Ionut Tripon
0c0111c03c
Apply selected style to NSWindow elements (e.g. title bar) on macOS (#3986) 2025-07-22 13:30:22 +03:00
timoreo
43c07cab4d
chore(nix): update lockfile (#3993) 2025-07-21 15:02:37 +02:00
timoreo
535bc4b6c6
chore(deps): update determinatesystems/update-flake-lock action to v27 (#3982) 2025-07-21 15:02:09 +02:00
timoreo
1794768b20
chore(deps): update determinatesystems/nix-installer-action action to v19 (#3981) 2025-07-21 15:01:44 +02:00
github-actions[bot]
43b2b07e0e chore(nix): update lockfile
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/9807714d6944a957c2e036f84b0ff8caf9930bc0?narHash=sha256-LwWRsENAZJKUdD3SpLluwDmdXY9F45ZEgCb0X%2BxgOL0%3D' (2025-07-08)
  → 'github:NixOS/nixpkgs/6e987485eb2c77e5dcc5af4e3c70843711ef9251?narHash=sha256-RKwfXA4OZROjBTQAl9WOZQFm7L8Bo93FQwSJpAiSRvo%3D' (2025-07-16)
2025-07-20 00:32:26 +00:00
Trial97
b60b577d25
rename VALID_RESOURCES static variable
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-07-18 18:26:25 +03:00
Alexandru Ionut Tripon
6f23c6ea41
Update launcher/modplatform/ResourceType.h
Co-authored-by: TheKodeToad <TheKodeToad@proton.me>
Signed-off-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
2025-07-18 18:22:46 +03:00
Trial97
9a51cd55df
make universal resource type
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-07-18 16:17:22 +03:00
timoreo
d63dba43d6
Add ability to change assets download server (#3875) 2025-07-18 09:14:45 +02:00
timoreo
31d7c3a727
Don't always enable optional mods manually downloaded from CurseForge (#3864) 2025-07-18 08:31:07 +02:00
clague
78dc42f4dd
fix grammar
Co-authored-by: Seth Flynn <getchoo@tuta.io>
Signed-off-by: clague <93119153+clague@users.noreply.github.com>
2025-07-16 14:56:44 +08:00
Kenneth Chew
677a7d7a05
Unregister window observer before theme manager is deallocated
Technically this probably isn't actually necessary since ThemeManager looks like it should remain allocated until the program quits, but...

Signed-off-by: Kenneth Chew <79120643+kthchew@users.noreply.github.com>
2025-07-16 01:15:56 -04:00
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
renovate[bot]
49daf62114
chore(deps): update determinatesystems/update-flake-lock action to v27 2025-07-15 03:24:29 +00:00
renovate[bot]
3cc8362662
chore(deps): update determinatesystems/nix-installer-action action to v19 2025-07-15 03:24:25 +00:00
Seth Flynn
0dbaeef8a6
chore(nix): update lockfile (#3972) 2025-07-13 11:50:39 -04:00
Seth Flynn
1a6ffaeb49
chore(deps): update cachix/install-nix-action digest to f0fe604 (#3971) 2025-07-13 11:50:20 -04:00
github-actions[bot]
f5fffd27ab chore(nix): update lockfile
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/5c724ed1388e53cc231ed98330a60eb2f7be4be3?narHash=sha256-xVNy/XopSfIG9c46nRmPaKfH1Gn/56vQ8%2B%2BxWA8itO4%3D' (2025-07-04)
  → 'github:NixOS/nixpkgs/9807714d6944a957c2e036f84b0ff8caf9930bc0?narHash=sha256-LwWRsENAZJKUdD3SpLluwDmdXY9F45ZEgCb0X%2BxgOL0%3D' (2025-07-08)
2025-07-13 00:31:57 +00:00
renovate[bot]
5fb6022b47
chore(deps): update cachix/install-nix-action digest to f0fe604 2025-07-12 13:50:35 +00:00
Alexandru Ionut Tripon
058717bcc2
chore(deps): update cachix/install-nix-action digest to cebd211 (#3967) 2025-07-12 08:28:16 +03:00
renovate[bot]
9ce6d3571e
chore(deps): update cachix/install-nix-action digest to cebd211 2025-07-11 22:00:35 +00:00
matthewperiut
20a833e1b9 Add "Babric" and "Babric (BTA)" as shown on Modrinth. Add "Show More" button to allow for space efficiency and readiness to add all other Modrinth modloader types.
Signed-off-by: matthewperiut <matthewperiut@gmail.com>
2025-07-10 11:12:27 -04:00
Seth Flynn
af73cfa20f
Add support for vcpkg (#3742) 2025-07-09 06:50:41 -04:00
Seth Flynn
463cf43161
ci(setup-deps/windows): use vcpkg for msvc
Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-07-09 05:22:50 -04:00
seth
7f78f6b85f
build: add support for vcpkg
Signed-off-by: seth <getchoo@tuta.io>
2025-07-09 05:22:50 -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
91abebbb59
build: let cmake know when we're cross compiling on msvc
This (unsurprisingly) makes some things actually work as they're
expected to when cross compiling, like windeployqt

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-07-08 11:03:19 -04:00
Seth Flynn
822b10e46e
Update to Qt 6.9 (#3934) 2025-07-07 20:18:34 -04:00
TheKodeToad
6d19984873
Add [[nodiscard]] guidelines
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-07-07 20:58:22 +01:00
TheKodeToad
29d73a474f
Reduce usage of [[nodiscard]] attributes
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-07-07 20:56:29 +01:00
Alexandru Ionut Tripon
9559204c8f
chore(nix): update lockfile (#3945) 2025-07-06 22:24:18 +03:00
github-actions[bot]
fe1a488651 chore(nix): update lockfile
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/30e2e2857ba47844aa71991daa6ed1fc678bcbb7?narHash=sha256-krGXKxvkBhnrSC/kGBmg5MyupUUT5R6IBCLEzx9jhMM%3D' (2025-06-27)
  → 'github:NixOS/nixpkgs/5c724ed1388e53cc231ed98330a60eb2f7be4be3?narHash=sha256-xVNy/XopSfIG9c46nRmPaKfH1Gn/56vQ8%2B%2BxWA8itO4%3D' (2025-07-04)
2025-07-06 00:30:52 +00:00
Seth Flynn
5b6276ac0f
Don't bundle Qt with the Linux Portable build (#3940) 2025-07-05 17:30:34 -04:00
Seth Flynn
50c8cddb5b
build(linux): don't bundle qt with portable zip
This was mainly implemented to work around an ABI incompatibility in
Arch Linux, which is no longer a major issue as they have an official
binary package for us now. Many ABI incompatibility issues still remain
(as not every distribution is, or similar to, Ubuntu) which this doesn't
even begin to scratch the surface of fixing, and isn't a very supported
use case in Linux-land outside of our mostly self-rolled `fixup_bundle`

Users who experience ABI incompatibilities with our binaries would be
*much* better served using Flatpak or AppImage, as they can guarntee^*
compatibility with any host system through a complete bundle; packagers
who experience ABI incompatibilities should probably build the launcher
against their own distribution, like Arch and many others do

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-07-05 02:50:10 -04:00
Seth Flynn
19e69b7197
Use Ninja for MSVC release and cross builds (#3938) 2025-07-05 02:38:51 -04:00
Seth Flynn
ba6f49b891
ci: glob directory matches
This makes sure *all* changes to directories trigger the given workflows

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-07-04 05:27:41 -04:00
Seth Flynn
3257abaa34
build(cmake): use ninja for msvc release and cross builds
Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-07-04 05:16:35 -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
300851e603
chore(deps): update determinatesystems/update-flake-lock action to v26 (#3937) 2025-07-04 03:07:23 -04:00