Octol1ttle
29c4f2f0e8
LaunchController: replace Q_ASSERT_X with regular Q_ASSERT
...
the info specified in the where/what arguments isn't more helpful compared to the default output of Q_ASSERT
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2026-04-03 21:22:24 +05:00
Octol1ttle
ad325960e7
LaunchController: clang-tidy
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2026-04-03 21:21:44 +05:00
Octol1ttle
c367cc1c59
LaunchController: fix double finish
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2026-04-03 21:15:37 +05:00
Octol1ttle
76bbd0f9ca
change: reshuffle launch log
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2026-03-15 02:03:49 +05:00
Octol1ttle
31eb4c67ba
improve error message
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2026-03-13 16:59:57 +05:00
Octol1ttle
314a7fc67d
fix(LaunchController): use separate message for account errors
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2026-03-04 21:46:29 +05:00
Octol1ttle
f7941b6431
fix(LaunchController): emit failed with correct reason
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2026-03-04 21:46:20 +05:00
Octol1ttle
d81fa77d1f
fix: don't manually format UUIDs
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2026-02-18 01:14:35 +05:00
Octol1ttle
6f0e053f4d
chore: add TODO for potential future race condition
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2026-02-18 00:19:32 +05:00
Octol1ttle
9f94b00925
change: use different message when launching with no account selected
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2026-02-18 00:19:32 +05:00
Octol1ttle
f7deeb0db4
no recursion
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2026-02-18 00:19:32 +05:00
Octol1ttle
5d0360ccec
style things
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2026-02-18 00:19:32 +05:00
Octol1ttle
a9f3be9f45
refactor: LaunchController
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2026-02-18 00:19:30 +05:00
DioEgizio
d5da7c9bde
fix: improve we couldn't launch after 3 tries message
...
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com >
2026-01-17 22:05:57 +01:00
Octol1ttle
549405ab2f
refactor!!!: migrate from shared pointers
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2026-01-11 21:00:03 +05:00
Octol1ttle
2e6efab913
fix: skip asking for offline name when using offline account
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2026-01-07 13:27:04 +05:00
Octol1ttle
86fd58e6cb
Apply suggestions from code review
...
Co-authored-by: TheKodeToad <TheKodeToad@proton.me >
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2025-12-06 16:34:59 +05:00
Octol1ttle
04a405067d
fix(LaunchController): correctly communicate if asking for offline name was successful
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2025-12-06 14:37:39 +05: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
a195b9981d
Use Task::getState
...
Signed-off-by: TheKodeToad <TheKodeToad@proton.me >
2025-06-07 22:41:09 +01:00
TheKodeToad
834eb5a90d
Don't retry account refresh if aborted
...
Signed-off-by: TheKodeToad <TheKodeToad@proton.me >
2025-06-07 16:32:40 +01:00
Trial97
c5fd5e6ac1
chore: make all the regexes static const
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2025-04-28 22:37:29 +03:00
TheKodeToad
fde2f4afe9
Fix mistakes
...
Signed-off-by: TheKodeToad <TheKodeToad@proton.me >
2025-03-10 12:44:44 +00:00
TheKodeToad
cb77cc1219
Use refresh instead of requestRefresh on LaunchController::login
...
There should be no reason to queue it and it could cause problems with the launcher's rate limiting
Signed-off-by: TheKodeToad <TheKodeToad@proton.me >
2025-03-03 20:24:07 +00:00
TheKodeToad
3840d8a37a
Always check Microsoft account for offline account
...
Signed-off-by: TheKodeToad <TheKodeToad@proton.me >
2025-02-13 19:12:50 +00:00
Trial97
2b590f24ed
remove task parent from constuctor
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2024-11-01 00:11:45 +02:00
Michael Tyson
43e4481b70
Support for launching from command line in offline mode
...
This allows launching an offline instance with --offline --name=OfflineName. This is useful for playing split screen by creating two side-by-side instances, which is impossible online, unless one is using two separate paid accounts.
With this PR, it makes it possible to launch from a script - otherwise, one has to launch manually, which is a pain, or create offline profiles for each instance, which interferes with some functionality like skins (my autistic son takes great issue with his skin not being visible, when using offline profiles!).
Implementation is based on MultiMC, which supports this feature.
See also https://github.com/PrismLauncher/PrismLauncher/issues/1059 for discussion.
Signed-off-by: Michael Tyson <michael@atastypixel.com >
2024-10-30 12:30:20 +11:00
Trial97
14ad720c58
fix conflict
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2024-10-28 16:21:40 +02:00
Trial97
0ee5665c95
Revert "Removed auto reauthenticate"
...
This reverts commit 400b518bc2 .
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2024-10-28 16:21:39 +02:00
Trial97
312009513d
add open java folder action
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2024-09-14 19:35:43 +03:00
Trial97
dcca175b36
snake_case to m_camelCase
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2024-08-09 11:06:31 +03:00
Trial97
c9809fff6d
add setting for quickplay singleplayer
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2024-08-08 16:53:26 +03:00
Trial97
b1a86bec34
refresh account if it should refresh on instance launch
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2024-06-26 09:51:12 +03:00
leia uwu
c1d0560524
perf: print api servers asynchronously on instance launch
...
Doing this on the main thread can cause the launcher to freeze for up to
5 seconds when launching an instance on my system
so i moved it to a launch step where it gets all the servers info
asynchronously to print
Signed-off-by: leia uwu <leia@tutamail.com >
2024-06-20 17:58:00 -03:00
Alexandru Ionut Tripon
3c4eed13a3
Merge pull request #1829 from Trial97/demo
...
Fixed demo mode
2024-06-14 18:41:02 +03:00
Trial97
b7008d2880
replace auth server ping
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2024-06-06 00:09:08 +03:00
Trial97
2b949a8059
improve login account checking
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2024-05-22 10:53:24 +03:00
Trial97
31d0cad377
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into demo
2024-05-18 16:24:22 +03:00
Trial97
e285a85fe8
Removed AccountTask
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2024-05-14 00:21:51 +03:00
Trial97
400b518bc2
Removed auto reauthenticate
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-12-14 00:02:15 +02:00
Trial97
be67067fa2
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into demo
2023-11-23 16:23:56 +02:00
Trial97
9345416361
Fixed localization stuff
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-11-23 12:36:40 +02:00
Trial97
2268e46b91
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into account
2023-11-23 12:22:41 +02:00
Trial97
ceb88a170e
Extracted reauthenticateCurrentAccount as a separate function
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-11-23 12:22:31 +02:00
Sefa Eyeoglu
d60d089cbc
Merge pull request #1751 from LocalSpook/account_type
2023-11-23 10:27:06 +01:00
Trial97
50a4d61ded
Fixed demo mode
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-11-10 23:26:41 +02:00
Edgars Cīrulis
d2a85cb580
visual: Fix spacing.
...
Signed-off-by: Edgars Cīrulis <edgarsscirulis@gmail.com >
2023-11-05 17:43:12 +00:00
Trial97
2863a691ef
moved refresh out of the loop
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-10-31 08:45:08 +02:00
Trial97
7166d68736
fixed account refresh after sleep
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-10-31 00:45:18 +02: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