72 Commits
Author SHA1 Message Date
Seth Flynn e8f5d02277 build(vcpkg): override default triplets with -static-release variants
This is all we want really, so ensure it's used for (almost) everybody
by default without setting random env/cmake cache vars

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2026-08-01 23:33:11 -04:00
Seth Flynn 794396c95b build: pin vcpkg via submodule
Apparently this is recommended for vcpkg, which makes sense as it can
help ensure all developers are using the same revision of the registry

It also lets us neatly override the defaults vcpkg uses without some
tricky other methods, or requiring us to fully vendor each triplet file
and keep it up to date

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2026-08-01 11:52:17 -04:00
Danhoby c301e3cbb4 Fix URL import for Linux
Signed-off-by: Danhoby <37343749+Dan4oby@users.noreply.github.com>

Fix macos scheme

Signed-off-by: Danhoby <37343749+Dan4oby@users.noreply.github.com>
2026-03-16 22:07:01 +03:00
Alexandru Ionut Tripon ac8a51290b change(cmake): dehardcode launcher names in info.plist (#5136) 2026-03-09 20:11:08 +00:00
mctaylors 7472a2bb94 change(cmake): i'm not sure but
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
2026-03-07 01:25:19 +03:00
mctaylors 3768d38b54 change(cmake): certified vim skill issue
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
2026-03-05 21:52:08 +03:00
mctaylorsandOctol1ttle e71d0b082d change(cmake): dehardcode launcher names in info.plist
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
Co-authored-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-03-05 21:16:20 +03:00
Octol1ttle 94da1308ac Refactor warning enabling, enable warnings-as-errors
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-26 17:49:11 +05:00
David Kaluta 094425552b Modified the plist to categorize it as a game
Signed-off-by: David Kaluta <mail@dkaluta.com>
2026-01-02 13:42:41 +02:00
Alexandru Ionut Tripon d1df515bcc Updated App icon for macOS 26 (#4160) 2025-12-19 10:37:25 +02:00
Seth Flynn 690a61a9e0 build(cmake): de-vendor versionless qt commands
These are already shipped in all versions of Qt 6

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-11-27 15:54:29 -05:00
Seth Flynn 3459e5bb52 build(cmake): de-vendor ecm files
These are now present in virtually all modern versions of ECM shipped by
distributions, so we don't really need to keep them around

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-11-27 15:52:34 -05:00
Seth Flynn 650ecb0bde build(cmake): centralize preset files
Now that we don't need so many variants for each platform, this is much
more sensible

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-11-06 17:41:21 -05:00
Seth Flynn ffdf00876e build(cmake): use mutli-config generators for debug/release presets
This prevents us from hardcoding variants for each release type. Yay!

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-11-06 17:41:21 -05:00
Richard Voigtmann d0737eecc5 Added macOS 26 Liquid Glass Icon Support. See: #4149
Signed-off-by: Richard Voigtmann <richard.v.voigtmann@gmail.com>
2025-09-20 19:42:04 +02:00
Seth Flynn 0ae0996adc build(vcpkg): patch meson to support universal binaries
tomlplusplus uses Meson as a build system, which makes us come across a
small bug when building Universal Binaries with our custom triplet

I hate vendoring this

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-07-22 18:04:55 -04:00
Seth Flynn 5c8ce8db66 build(vcpkg): add univesal-osx triplet
vcpkg doesn't officially support universal binaries, but this should
function as a workaround until it does one day

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-07-13 16:33:35 -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 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 c03f854fb8 cmake: use build platform from environment
This allows all CI builds to be deemed "official"

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-06-13 02:18:19 -04:00
Seth Flynn 3718c60844 cmake: enforce explicit artifact name
It's much easier to determine this in CI and ensure our artifact names
are correct (I have made some accidents). They (and thus the updater)
can also easily be left out of local builds -- and probably should've
always been

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-06-13 02:18:19 -04:00
Seth Flynn 70500af2a2 ci: use cmake workflow presets
Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-04-30 02:25:31 -04:00
Seth Flynn 9131f79cc0 feat: add CMakePresets.json
Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-04-30 02:25:31 -04:00
Kenneth Chew c3e44554ab Add local network usage description
Signed-off-by: Kenneth Chew <79120643+kthchew@users.noreply.github.com>
2024-12-12 14:43:28 -05:00
Trial97 f7c3e08ac8 add prismlauncher to plist
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2024-06-13 18:27:37 +03:00
Kenneth Chew 4787141698 Improved blocked mods dialog permissions prompt
Targeted to macOS (where `~/Downloads` is considered a sensitive location that the system protects behind a prompt even from non-sandboxed apps)

Signed-off-by: Kenneth Chew <79120643+kthchew@users.noreply.github.com>
2024-05-07 18:30:06 -04:00
LocalSpook 9d972ccc63 Localize account type in account list
Signed-off-by: LocalSpook <56512186+LocalSpook@users.noreply.github.com>
2023-10-26 13:32:33 -07:00
Sefa Eyeoglu 03ad430699 Merge pull request #1537 from Trial97/warnings 2023-10-04 09:40:38 +02:00
seth 584e800279 fix: remove -Wextra-semi
this flag is unavailable on gcc versions < 8. we could detect the
version of the compiler here, but i don't think we lose much in this
flags removal and this is a simpler option

Signed-off-by: seth <getchoo@tuta.io>
2023-08-30 11:14:49 -04:00
Trial97 d3acac16e6 added -Wno-gnu-zero-variadic-macro-arguments and fixed more warnings
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-08-18 13:10:13 +03:00
Trial97 c94ee67077 Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into curseforge-url-handle3
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-08-15 12:16:00 +03:00
Rachel Powers d7d2d9f612 chore: remove WARNINGS_AS_ERRORS
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-07-01 17:03:11 -07:00
Rachel Powers 7e0e1ec51d chore: add better default compiler warnings
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-06-04 14:10:17 -07:00
timoreo 63c21c53af Added url handler for curseforge
Signed-off-by: timoreo <contact@timoreo.fr>
2023-05-05 15:05:17 -07:00
Ryan Cao 03b48554b1 fix(style): convert tabs to spaces
Signed-off-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
2022-10-29 00:01:22 +08:00
Ryan Cao a406aeb3ea feat: register as zip/mrpack handler on macOS
Signed-off-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
2022-10-22 20:51:46 +08:00
flow e259bffca6 Merge pull request #810 from Scrumplex/refactor-launcher-version
Hide channel from version for tagged commits
2022-07-12 07:46:46 -03:00
Sefa Eyeoglu b3b76d5d56 Merge branch 'develop' into feature/sparkle-mac
# Conflicts:
#	.github/workflows/build.yml
2022-07-10 19:38:30 +02:00
Sefa Eyeoglu 4e99da7b62 refactor: query Qt variables using ECM
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10 12:19:15 +02:00
Sefa Eyeoglu e58158c3cd feat: add Qt 6 support to CMake
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10 12:19:14 +02:00
Sefa Eyeoglu 0f9260869b chore: update Git CMake module
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-03 17:23:13 +02:00
Sefa Eyeoglu effe46db86 refactor: move away from UnitTest.cmake 2022-06-14 14:44:49 +02:00
Kenneth Chew 7eb61a28be Add build options for Sparkle updater
Two new build options are added:

`MAC_SPARKLE_PUB_KEY`: the public key used to verify the signatures of the appcast
`MAC_SPARKLE_APPCAST_URL`: the URL where the `appcast.xml` is located

If the updater should be disabled on macOS, set either of these to an empty string.
2022-05-19 15:16:37 -04:00
Kenneth Chew 80908efdcb Fix indentation of macOS resources 2022-05-15 16:33:52 -04:00
Sefa Eyeoglu 0b38d878a1 fix: remove in-tree CMake modules where possible 2022-05-02 16:27:15 +02:00
Kenneth Chew 9462dd3ddc Improve security by enabling hardened runtime for macOS
This change also fixes a bug on recent versions of macOS where Minecraft mods that requested access to the microphone would silently fail.
2022-04-19 11:36:03 -04:00
Philipp David a89cbf116d Allow disabling building of tests 2022-03-23 19:48:03 +01:00
swirl 1d8196e11a More rebranding
Closes: #39

Mostly done with rebranding now. We just need to translate some services
to PolyMC.
2022-01-10 12:47:35 -05:00
Petr Mrázek 5b3dffce62 NOISSUE continue debranding... 2021-10-21 00:47:53 +02:00
Petr Mrázek 5f2d3f014a NOISSUE get rid of remaining tabs 2018-08-02 01:01:55 +02:00