Commit graph

515 commits

Author SHA1 Message Date
Octol1ttle
a9f3be9f45
refactor: LaunchController
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-18 00:19:30 +05:00
Octol1ttle
8e992a324c
change(AuthFlow): remove XboxProfileStep
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-03 21:28:44 +05:00
Alexandru Ionut Tripon
e541e6dd80
Add back FTB modpack support (#3559) 2026-01-31 20:26:46 +02:00
Alexandru Ionut Tripon
fda9e74972
Remove systeminfo; move getSystemRam into SysInfo.h (#4323) 2026-01-31 20:24:40 +02:00
Octol1ttle
d4817a5669
feat: abort launch when there are libraries missing
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-29 18:14:23 +05:00
Octol1ttle
f0a17d82d9
refactor: FMLLibrariesTask -> LegacyFMLLibrariesTask
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-27 19:24:13 +05:00
Octol1ttle
fa040fc959
rename Assert.h because it causes conflicts???
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-23 00:34:34 +05:00
Octol1ttle
490df18fd5
Introduce macro to assert and return the assertion condition
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-21 18:02:38 +05:00
Alexandru Ionut Tripon
f60535dd68
Reformat with editorconfig, add clang-format target (#4556) 2026-01-18 22:57:05 +02:00
Seth Flynn
686ad72e03
build: add clang-format target
Through the power of CMake itself, we can format our files

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2026-01-18 15:48:01 -05:00
DioEgizio
a98ec194be hack: resolve dependencies for imageformats on mingw
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2026-01-17 20:45:33 +01:00
Trial97
7ee4b35aee
chore: update link and sync with other providers changes
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-01-17 17:25:20 +02:00
Trial97
c27bc436da
Revert "chore: remove FTB modpack support"
This reverts commit ff07714e8c.

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-01-17 17:25:20 +02:00
TheKodeToad
6848d60cad
refactor!!!: migrate from shared pointers (#4673) 2026-01-16 20:32:17 +00:00
TheKodeToad
3a16cf3081
Allow toggling pre-compiled headers
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-01-14 16:20:26 +00:00
Octol1ttle
549405ab2f
refactor!!!: migrate from shared pointers
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-11 21:00:03 +05:00
Mark Deneen
133842d6a8
Disable tooltips if using gamescope / Steam Deck. (#4096)
* Disable tooltips if using gamescope / Steam Deck.

On a Steam Deck, Prism Launcher's window is scaled to fit the screen.
Whenever a tool tip is shown, it is often display outside of the window,
causing the compositor to scale the view to fit the new bounding box.

This effect is quite jarring, and I don't like it.  This patch adds a
small global event filter which swallows up the tool tip events.  It is
currently not configurable, although I suppose that could be an option.

Signed-off-by: Mark Deneen <mdeneen@gmail.com>

* Move tooltip filter addition from the Main Window to the Application.

Signed-off-by: Mark Deneen <mdeneen@gmail.com>

* Add license information to new files

Signed-off-by: Mark Deneen <mdeneen@gmail.com>

* Remove other authors, they should not have been added in the first place

Signed-off-by: Mark Deneen <mdeneen@gmail.com>

* Correct the years as well

Signed-off-by: Mark Deneen <mdeneen@gmail.com>

* Update launcher/ui/ToolTipFilter.cpp

Co-authored-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
Signed-off-by: Mark Deneen <mdeneen@gmail.com>

* Update launcher/ui/ToolTipFilter.h

Co-authored-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
Signed-off-by: Mark Deneen <mdeneen@gmail.com>

---------

Signed-off-by: Mark Deneen <mdeneen@gmail.com>
Co-authored-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
2026-01-09 22:13:45 +02:00
TheKodeToad
1cf48dfd85
Don't use .index for shaderpacks
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-01-06 15:05:23 +00:00
Alexandru Ionut Tripon
993da92199
feat: Use precompiled headers for 130-180% speedup (#4494) 2025-12-26 23:41:37 +02:00
Seth Flynn
85849fea41
fix(build): handle CMAKE_BUILD_TYPE with generator expressions
Since we've started using ninja's multi-config generator, evaluating
CMAKE_BUILD_TYPE at configure-time is no longer reliable. Thankfully,
CMake offers "generator expressions" that are evaluated during build
system generation, which allows us to continue using these conditional
flags without much headache

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-12-22 03:21:10 -05:00
Rachel Powers
e53093c4b4
feat: Use pre-compiled headers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2025-12-14 21:15:23 -07:00
TheKodeToad
283d49ba35
Merge remote-tracking branch 'upstream/develop' into desysteminfo
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-12-07 11:58:21 +00:00
Seth Flynn
38afa3a94c
build: remove vendored gamemode code
Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-11-28 04:02:08 -05:00
Trial97
c787f4e291
fix merge
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-11-26 18:42:25 +02:00
Trial97
c456e35e41
build(cmake): better detect libarchive
Co-authored-by: Octol1ttle <l1ttleofficial@outlook.com>
Co-authored-by: Seth Flynn <getchoo@tuta.io>
Signed-off-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
Signed-off-by: Seth Flynn <getchoo@tuta.io>
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-11-26 18:41:57 +02:00
Trial97
d036bba341
add libarchive as actions dependency
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-11-26 18:41:22 +02:00
Trial97
84efa6814d
remove quazip
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-11-26 18:41:20 +02:00
Trial97
8c36be048c
move ExtractZipTask
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-11-26 18:39:18 +02:00
Trial97
60b2585711
move some functions from MMCZip to use libarchive
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-11-26 18:39:18 +02:00
Trial97
fa930afe4b
move ExportToZipTask
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-11-26 18:39:18 +02:00
TheKodeToad
19aab36a4d
Merge branch 'develop' into desysteminfo
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-11-23 16:23:27 +00:00
DioEgizio
3ba24f3f09
Use security-scoped bookmarks for directory settings on macOS (#3616) 2025-11-21 18:34:43 +01:00
Alexandru Ionut Tripon
8b4ad7aa49
Create a unified dialog to ask user for offline name (#4209) 2025-11-16 18:30:37 +02:00
Seth Flynn
3b9e020115
feat(ui/MSALoginDialog): use libqrencode for qr codes
`qrcodegen` isn't available in most repositories, package discovery
scripts for it are maintained in a different repository, and they are
bugged for Windows at least. This basically forces us into vendoring it,
which isn't cool; libqrencode seems like viable alternative used by many
more apps

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-11-13 04:12:52 -05:00
Kenneth Chew
efe1d71d35
Generate security-scoped bookmarks on startup
Signed-off-by: Kenneth Chew <79120643+kthchew@users.noreply.github.com>
2025-11-09 14:43:57 -05:00
Kenneth Chew
710789b701
Use security-scoped bookmarks to keep track of data directory settings on macOS
This enables sandboxed apps to maintain access to user-selected items. In addition, for both sandboxed and nonsandboxed apps it can keep track of directories even if they are moved or renamed, and can remember access to directories in "sensitive" locations (such as the Documents folder or external drives).

Signed-off-by: Kenneth Chew <79120643+kthchew@users.noreply.github.com>
2025-11-09 14:43:55 -05:00
TheKodeToad
c4971479f8
Remove systeminfo
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-11-08 19:37:19 +00:00
Octol1ttle
ea004846a9
Create a unified dialog to ask user for offline name
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2025-10-07 01:07:50 +05:00
TheKodeToad
d384970694
Merge remote-tracking branch 'upstream/develop' into unused-code
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-09-19 11:06:34 +01:00
TheKodeToad
7789ba8608
Remove unused code
GameOptions.{h,cpp}, GameOptionsPage.{h,cpp}, ThemeWizardPage.cpp

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-09-19 09:04:29 +01:00
Trial97
29cff14fd6
removed some duplicate code
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-09-15 18:25:07 +03:00
TheKodeToad
d7eddd3773
Replace IPathMatcher stuff with Filter
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-08-04 15:03:22 +01:00
TheKodeToad
d41db5253e
Refactor Filter
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-08-04 14:02:54 +01:00
Alexandru Ionut Tripon
078de50951
make universal resource type (#3541) 2025-07-22 13:31:05 +03:00
Trial97
9a51cd55df
make universal resource type
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-07-18 16:17:22 +03: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
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
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