Commit Graph

461 Commits

Author SHA1 Message Date
TheKodeToad
fd3ae85d45 Simplify MessageLevel::Enum -> MessageLevel
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-12-07 13:15:22 +00:00
Seth Flynn
b1b4b5d38a fix(launcher): set correct bin path for self-contained appimages
Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-11-29 15:13:38 -05:00
DioEgizio
3ba24f3f09 Use security-scoped bookmarks for directory settings on macOS (#3616) 2025-11-21 18:34:43 +01:00
Alexandru Ionut Tripon
f93e21fa2d deduplicate includes and reformat (#4228) 2025-11-16 18:12:52 +02: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
Dylan Schooner
8d42bdaf6b Check return value of 'virtual bool QFile::open(QIODeviceBase::OpenMode)'
Signed-off-by: Dylan Schooner <dschooner05@gmail.com>
2025-10-30 03:15:14 -04:00
Edgars Cīrulis
91a02a1dc6 style: run-run clang-format on launcher/*
Signed-off-by: Edgars Cīrulis <e.cirulis@proton.me>
2025-10-14 04:05:56 +03:00
Edgars Cīrulis
577f9ca94c style: remove duplicate #include headers
Signed-off-by: Edgars Cīrulis <e.cirulis@proton.me>
2025-10-14 04:03:02 +03:00
TheKodeToad
cd4f119e4b Replace getThemedIcon with APPLICATION->logo()
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-09-19 00:07:05 +01:00
TheKodeToad
d7eddd3773 Replace IPathMatcher stuff with Filter
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-08-04 15:03:22 +01:00
clague
09ec3eb621 resolve problems
Signed-off-by: clague <93119153+clague@users.noreply.github.com>
2025-06-17 00:25:34 +08:00
clague
4bf6e59f3b feat: add ability to change assets download server
Signed-off-by: clague <93119153+clague@users.noreply.github.com>
2025-06-17 00:25:33 +08:00
Yihe Li
836c558c6c Merge branch 'develop' into launcher-log-page 2025-06-06 21:36:03 +08:00
Tayou
9cdfeb5fcd add options to change the cat scalling (#3380) 2025-06-06 14:23:39 +02: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
d77889f26d Change log to be a QMainWindow
Signed-off-by: Yihe Li <winmikedows@hotmail.com>
2025-06-05 23:15:55 +08: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
ef3bf75715 Remove some duplicate code
Signed-off-by: Yihe Li <winmikedows@hotmail.com>
2025-06-05 16:15:29 +08: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
Yihe Li
1aa8d7bc13 Reuse OtherLogsPage directly
Signed-off-by: Yihe Li <winmikedows@hotmail.com>
2025-06-03 15:44:17 +08: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
Yihe Li
c58cc3396a Basic support for launcher log page
Signed-off-by: Yihe Li <winmikedows@hotmail.com>
2025-06-03 04:51:41 +08:00
Trial97
8c0ba43838 add options to change the cat scalling
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-06-02 15:15:17 +03:00
Alexandru Ionut Tripon
52fa074ff7 Make column visibility global (#3748) 2025-06-02 12:45:03 +03:00
Trial97
a29b189056 feat: make the visibility per resource
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-06-02 11:56:03 +03:00
Trial97
8c710fb8de chore: migrate map settings to json string
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-06-02 11:56:03 +03:00
TheKodeToad
edb1020dce Merge remote-tracking branch 'upstream/develop' into data-packs
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-06-02 09:52:05 +01:00
Trial97
89be378ef6 chore: add miggrate qbytearray settings to qstring
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-06-02 11:40:48 +03:00
Trial97
6177fa0148 feat: make resource header config global
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-06-02 11:40:48 +03:00
TheKodeToad
e4ed3b4546 Merge branch 'PrismLauncher:develop' into data-packs 2025-06-01 07:54:16 +00:00
TheKodeToad
618e6bd96b Merge remote-tracking branch 'upstream/develop' into rework-settings
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-05-22 23:04:57 +01:00
Trial97
cb01d5c46e feat: refactor logs upload to use the NetJob
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-05-07 00:12:09 +03:00
TheKodeToad
fadbcf2d04 Merge remote-tracking branch 'upstream/develop' into data-packs
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-04-29 09:15:11 +01:00
Trial97
5c8481a118 chore: reformat
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-04-29 10:46:41 +03:00
Rachel Powers
d0ccd110a1 fix: use after free begone!
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2025-04-28 04:49:23 -07:00
TheKodeToad
f307340690 Fix formatting
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-04-18 11:32:50 -07:00
TheKodeToad
166b2cb286 Tweak log formatting
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-04-18 11:32:50 -07:00
Rachel Powers
45b6454222 feat(ansi-console): Format console with ansi excapes
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2025-04-18 00:39:19 -07:00
Rachel Powers
4a2b5c72dc feat(color-console): support ansi colors in console
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2025-04-17 14:54:44 -07:00
TheKodeToad
211c71f84a Merge remote-tracking branch 'upstream/develop' into rework-settings
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-04-15 11:38:31 +01:00
Kenneth Chew
7d4034cfa5 Shorten LocalPeer socket names
On most systems supporting Unix sockets, the maximum length of a socket name is quite low (e.g. on macOS 104 characters and on Linux 108). If the name is too long, the sockets will not work and thus sending messages to a running instance of the launcher will not work.

Signed-off-by: Kenneth Chew <79120643+kthchew@users.noreply.github.com>
2025-04-13 02:33:22 -04:00
Yihe Li
0da645594f Adjust instance view sorting mode to QComboBox and add renaming behavior
Signed-off-by: Yihe Li <winmikedows@hotmail.com>
2025-03-27 01:20:07 +08:00
TheKodeToad
6ab4fef0c5 Merge remote-tracking branch 'upstream/develop' into data-packs
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-03-24 21:11:46 +00:00
TheKodeToad
e2b85a2e2b Clang format
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-03-24 17:24:18 +00:00
TheKodeToad
4e6bfde723 Revert sliders
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-03-24 11:59:29 +00:00
TheKodeToad
72b90cf7de gay bowser
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-03-24 01:07:40 +00:00
TheKodeToad
0434cc648a Rearrange settings categories
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-03-24 00:36:55 +00:00
TheKodeToad
3922136f6d Rework Minecraft and Java settings
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-03-24 00:29:07 +00:00