Evan Goode
b1738deffb
authlib-injector: Mark correct account as in use
...
Fixes a bug where the wrong account could be marked as "in use" when the
game is launched if there are multiple accounts that share the same
profile ID. This can lead to the launcher trying to refresh an account
that's currently in use by the game, leading to "Invalid session" errors
in-game.
Signed-off-by: Evan Goode <mail@evangoo.de>
2023-11-15 12:11:12 -05:00
Evan Goode
79f00f6c50
authlib-injector: link to wiki page with API servers
...
Signed-off-by: Evan Goode <mail@evangoo.de>
2023-11-15 12:11:09 -05:00
Evan Goode
89ac7edee3
Merge remote-tracking branch 'upstream/develop' into unmojang
2023-11-04 21:35:21 -04:00
Evan Goode
aa589701ed
Automatically install authlib-injector when missing
...
Add MissingAuthlibInjectorBehavior setting to control this behavior
Signed-off-by: Evan Goode <mail@evangoo.de>
2023-09-23 18:53:14 -04:00
emanueljg
a9e02ff4d6
fix Nix wrapper using wrong JAVA_PATHS env var
2023-09-06 21:11:56 +02:00
fn2006
ca5574130f
Only check migration eligibility for Mojang accounts
2023-09-05 21:47:37 +01:00
fn2006
0c2c98f289
Remove DRM from authlib-injector accounts
2023-09-05 21:32:15 +01:00
Evan Goode
a980b4d537
Clean up authlib-injector merge, mostly clang-format
...
Signed-off-by: Evan Goode <mail@evangoo.de>
2023-09-05 00:13:50 -04:00
Evan Goode
afe33b9de5
Make 'SuggestAuthlibInjector' setting actually have an effect; clang-format
...
Signed-off-by: Evan Goode <mail@evangoo.de>
2023-09-04 23:57:33 -04:00
Evan Goode
9d442a0348
authlib-injector
...
* 'Custom Yggdrasil' AccountType
Signed-off-by: Evan Goode <mail@evangoo.de>
* Allow multiple accounts with the same player UUID
Signed-off-by: Evan Goode <mail@evangoo.de>
* Use correct services server URL for SkinDelete
Signed-off-by: Evan Goode <mail@evangoo.de>
* Correctly use CustomYggdrasilRefresh, add warning message
Signed-off-by: Evan Goode <mail@evangoo.de>
* Custom Yggdrasil: Readability fixes
Also made the MinecraftEntitlement for Custom Yggdrasil accounts work
just like offline accounts---instead of checking the reply from the auth
server, Custom Yggdrasil accounts are granted canPlayMinecraft and
ownsMinecraft when they are created, in MinecraftAccount.cpp.
Signed-off-by: Evan Goode <mail@evangoo.de>
* Custom Yggdrasil: Add extra confirmation dialog
Signed-off-by: Evan Goode <mail@evangoo.de>
* Add install authlib-injector button
Signed-off-by: Evan Goode <mail@evangoo.de>
* authlib-injector accounts
Signed-off-by: Evan Goode <mail@evangoo.de>
* Suggest installing authlib-injector when needed
Signed-off-by: Evan Goode <mail@evangoo.de>
* Use Unmojang metadata
Signed-off-by: Evan Goode <mail@evangoo.de>
* Use std::string for MANAGED_AGENTS, not QString
---------
Signed-off-by: Evan Goode <mail@evangoo.de>
Resolve X-Authlib-Injector-API-Location
Signed-off-by: Evan Goode <mail@evangoo.de>
Prefetch authlib-injector metadata
Resolves https://github.com/unmojang/PrismLauncher/issues/4
See https://github-com.translate.goog/yushijinhun/authlib-injector/wiki/%E5%90%AF%E5%8A%A8%E5%99%A8%E6%8A%80%E6%9C%AF%E8%A7%84%E8%8C%83?_x_tr_sl=auto&_x_tr_tl=en&_x_tr_hl=en-US#%E9%85%8D%E7%BD%AE%E9%A2%84%E8%8E%B7%E5%8F%96
Signed-off-by: Evan Goode <mail@evangoo.de>
drag-and-drop authlib-injector URL, clang-format
Resolves https://github.com/unmojang/PrismLauncher/issues/2
Signed-off-by: Evan Goode <mail@evangoo.de>
2023-09-04 19:00:18 +01:00
fn2006
65821b54e6
Remove current Ely.by implementation
2023-09-04 01:35:37 +01:00
fn2006
be1d2a6070
Merge remote-tracking branch 'upstream/develop' into develop
2023-09-04 00:45:11 +01:00
fn2006
70e6f323fe
fix regressions
2023-09-04 00:43:23 +01:00
fn2006
b6904ba50a
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into develop
2023-09-04 00:39:20 +01:00
TheKodeToad
25ce11d85d
Merge pull request #1539 from Trial97/refactor_modpack_ux
...
Improvements to modpack UX
2023-08-31 14:58:54 +01:00
TheKodeToad
0e67686295
Hide index folder in pack export dialog
...
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-08-28 17:25:07 +01:00
TheKodeToad
e98bca4749
Fix cancelling pack save
...
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-08-28 17:09:40 +01:00
Sefa Eyeoglu
fbf6833124
Merge pull request #1519 from TheKodeToad/better-export-pack
2023-08-28 10:29:32 +02:00
TheKodeToad
9110fbf282
Merge pull request #1560 from Trial97/curse_multiple_loaders2
...
Add suport for flame multiple loaders
2023-08-27 18:21:14 +01:00
TheKodeToad
e3b04d10cf
Merge pull request #1536 from Trial97/time3
...
Allow showing playtime in hours
2023-08-27 18:14:04 +01:00
Trial97
8c607ae734
removed extra if
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-08-27 20:02:12 +03:00
Trial97
c5aac24a93
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into curse_multiple_loaders2
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-08-27 15:53:35 +03:00
Trial97
4036cecfc0
Added progress widget to some modpack providers
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-08-27 15:04:42 +03:00
Sefa Eyeoglu
df14f88307
Merge pull request #1532 from Trial97/curseforge-url-handle
2023-08-27 12:26:57 +02:00
Trial97
288d0d1fd4
Added back api loader filtering if just one is selected
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-08-26 22:26:01 +03:00
Trial97
abfd1a4205
minor dependency crash fix
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-08-25 18:35:25 +03:00
Trial97
c54fecf5d9
added condition for empty loader type
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-08-25 09:05:04 +03:00
Trial97
172680abf8
removed aditional header
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-08-24 13:42:36 +03:00
Trial97
5f3e9672cd
made the loaders check more generic
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-08-24 13:31:57 +03:00
Trial97
6c0492c0d1
return 0 for any
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-08-23 21:09:32 +03:00
Trial97
1515607060
updated getMappedModLoader
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-08-23 20:16:51 +03:00
Sefa Eyeoglu
85c23b26de
chore: reformat
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-08-23 13:46:23 +02:00
Trial97
6178e5a975
reverted change for optional
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-08-23 13:55:38 +03:00
Trial97
aa065f2b51
Updated dependency resolution
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-08-23 13:28:23 +03:00
Sefa Eyeoglu
2283498ccb
Merge pull request #1552 from Trial97/memory_quick_setup
2023-08-23 11:56:53 +02:00
Trial97
e6ba2f4970
Added loaders check on versions load
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-08-23 12:52:51 +03:00
Trial97
f8f9ffa118
added loaders for flame version
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-08-23 11:33:45 +03:00
Trial97
4704c522e0
moved modloaderTypes to ModPlatform
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-08-23 10:26:57 +03:00
TheKodeToad
f7951f6082
Merge pull request #1548 from Trial97/version_label
...
Reset status label when deleting instance
2023-08-22 15:14:02 +01:00
Alexandru Ionut Tripon
eed7e996da
Update launcher/ui/widgets/JavaSettingsWidget.cpp
...
Co-authored-by: Tayou <31988415+TayouVR@users.noreply.github.com>
Signed-off-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
2023-08-22 16:17:05 +03:00
Alexandru Ionut Tripon
06dbd381f8
Update launcher/ui/pages/instance/InstanceSettingsPage.cpp
...
Co-authored-by: Tayou <31988415+TayouVR@users.noreply.github.com>
Signed-off-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
2023-08-22 16:16:57 +03:00
Alexandru Ionut Tripon
3574d89e0f
Update launcher/ui/pages/global/JavaPage.cpp
...
Co-authored-by: Tayou <31988415+TayouVR@users.noreply.github.com>
Signed-off-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
2023-08-22 16:16:50 +03:00
TheKodeToad
0e96111116
Merge pull request #1556 from Trial97/metacache
...
Gracefully handle invalid cache metadata
2023-08-22 14:09:44 +01:00
Trial97
09aca7a0b5
Added warning to settings page
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-08-22 10:52:35 +03:00
Sefa Eyeoglu
b1783d8fb1
Merge pull request #1557 from Trial97/curse_crash
2023-08-21 23:04:45 +02:00
Trial97
c3d03f0c33
added check for valid query items in curse url install
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-08-21 22:20:33 +03:00
Trial97
7acfe36a62
fixed httpmetacache load
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-08-21 21:30:44 +03:00
Trial97
45dad27a6d
fixed check
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-08-21 17:46:50 +03:00
TheKodeToad
fff378b643
Merge pull request #1553 from TheKodeToad/list-fixes
...
A few boring list-related fixes
2023-08-21 15:33:16 +01:00
TheKodeToad
d7dadabfbf
List fixes
...
Double-click to toggle profile components.
Restore double-click to toggle resources.
Fix clicking on checkbox to select account.
Double-click to select account.
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-08-21 14:44:46 +01:00