c5fd5e6ac1
chore: make all the regexes static const
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2025-04-28 22:37:29 +03:00
fde2f4afe9
Fix mistakes
...
Signed-off-by: TheKodeToad <TheKodeToad@proton.me >
2025-03-10 12:44:44 +00:00
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
3840d8a37a
Always check Microsoft account for offline account
...
Signed-off-by: TheKodeToad <TheKodeToad@proton.me >
2025-02-13 19:12:50 +00:00
2b590f24ed
remove task parent from constuctor
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2024-11-01 00:11:45 +02:00
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
14ad720c58
fix conflict
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2024-10-28 16:21:40 +02:00
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
312009513d
add open java folder action
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2024-09-14 19:35:43 +03:00
dcca175b36
snake_case to m_camelCase
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2024-08-09 11:06:31 +03:00
c9809fff6d
add setting for quickplay singleplayer
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2024-08-08 16:53:26 +03:00
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
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
3c4eed13a3
Merge pull request #1829 from Trial97/demo
...
Fixed demo mode
2024-06-14 18:41:02 +03:00
b7008d2880
replace auth server ping
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2024-06-06 00:09:08 +03:00
2b949a8059
improve login account checking
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2024-05-22 10:53:24 +03:00
31d0cad377
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into demo
2024-05-18 16:24:22 +03:00
e285a85fe8
Removed AccountTask
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2024-05-14 00:21:51 +03:00
400b518bc2
Removed auto reauthenticate
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-12-14 00:02:15 +02:00
be67067fa2
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into demo
2023-11-23 16:23:56 +02:00
9345416361
Fixed localization stuff
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-11-23 12:36:40 +02:00
2268e46b91
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into account
2023-11-23 12:22:41 +02:00
ceb88a170e
Extracted reauthenticateCurrentAccount as a separate function
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-11-23 12:22:31 +02:00
d60d089cbc
Merge pull request #1751 from LocalSpook/account_type
2023-11-23 10:27:06 +01:00
50a4d61ded
Fixed demo mode
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-11-10 23:26:41 +02:00
d2a85cb580
visual: Fix spacing.
...
Signed-off-by: Edgars Cīrulis <edgarsscirulis@gmail.com >
2023-11-05 17:43:12 +00:00
2863a691ef
moved refresh out of the loop
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-10-31 08:45:08 +02:00
7166d68736
fixed account refresh after sleep
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-10-31 00:45:18 +02:00
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
dc74ea7382
fixed wrong account selection
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-10-06 19:27:26 +03:00
00bbbdc6e9
Update launcher/LaunchController.cpp
...
Co-authored-by: TheKodeToad <TheKodeToad@proton.me >
Signed-off-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com >
2023-10-01 00:31:51 +03:00
f370f0d749
chore: cleanup a few more mentions of mojang accounts
...
Signed-off-by: seth <getchoo@tuta.io >
2023-09-27 05:34:48 -04:00
3e2733d840
Merge branch 'develop' into better-launch
...
Signed-off-by: TheKodeToad <TheKodeToad@proton.me >
2023-08-16 22:23:38 +01:00
1d638e018a
chore: update license headers
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2023-08-04 19:41:47 +02:00
1d468ac35a
chore: reformat
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2023-08-02 18:35:35 +02:00
57430fd189
Merge branch 'develop' into better-launch
...
Signed-off-by: TheKodeToad <TheKodeToad@proton.me >
2023-07-22 11:26:02 +01:00
5e0df9b696
Merge pull request #1276 from Scrumplex/print-build-platform
...
Print build platform on launch
2023-07-16 17:15:55 -04:00
22327bbe71
Combine launch buttons in Instance window, persist profiler
...
Signed-off-by: TheKodeToad <TheKodeToad@proton.me >
2023-07-06 18:07:45 +01:00
f5e4171df4
feat: print build platform in log
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2023-06-26 11:54:22 +02:00
318d11481d
Resolve other switch fallthrough issues
2023-06-07 19:37:54 -04:00
29f7ea752f
refactor: make shared_qobject_ptr ctor explicit
...
This turns issues like creating two shared ptrs from a single raw ptr
from popping up at runtime, instead making them a compile error.
Signed-off-by: flow <flowlnlnln@gmail.com >
2023-01-25 16:57:51 -03:00
ba81ad1ac3
Reword instance-specific account settings, apply clang-format
...
Signed-off-by: Aaron <10217842+byteduck@users.noreply.github.com >
2023-01-02 11:17:19 -07:00
7e2d78bab5
Allow selecting a default account to use with an instance
...
Signed-off-by: Aaron <10217842+byteduck@users.noreply.github.com >
2023-01-02 11:17:19 -07:00
3ac398ac49
fix: use display name in code
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2022-10-18 09:50:27 +02:00
7e67fd8c79
Update LaunchController.cpp
...
Signed-off-by: Ozynt <104643560+Ozynt@users.noreply.github.com >
2022-10-09 13:20:50 +02:00
fecf1ffcb9
Update LaunchController.cpp
...
Signed-off-by: Ozynt <104643560+Ozynt@users.noreply.github.com >
2022-10-09 13:19:38 +02:00
8e43d97133
Microsoft account only
...
Signed-off-by: stoltsvensk <104643560+stoltsvensk@users.noreply.github.com >
2022-10-01 16:47:23 +02:00
1b2a7de4e2
fix: show 'demo' instead of 'offline' in log when in demo mode
...
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-09-15 18:44:18 -03:00
29dcb9d274
Added Launch Demo button.
...
Signed-off-by: jopejoe1 <johannes@joens.email >
2022-09-15 18:44:18 -03:00
355762aa30
fix: emit abort in LaunchController
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2022-08-04 10:07:36 +02:00