60234a550b
feat: auto install modpack & choise nickname
CodeQL Code Scanning / CodeQL (push) Has been cancelled
Build Application / Build Debug (push) Has been cancelled
Nix / Build (${{ matrix.system }}) (macos-13, x86_64-darwin) (push) Has been cancelled
Nix / Build (${{ matrix.system }}) (macos-14, aarch64-darwin) (push) Has been cancelled
Nix / Build (${{ matrix.system }}) (ubuntu-22.04, x86_64-linux) (push) Has been cancelled
Nix / Build (${{ matrix.system }}) (ubuntu-22.04-arm, aarch64-linux) (push) Has been cancelled
Update Flake Lockfile / update-flake (push) Has been cancelled
2025-04-15 11:13:45 +03:00
Evan Goode
7050d01aab
Support authlib-injector skin upload
2025-04-06 17:46:06 -05:00
Evan Goode
04703d83ee
Delete remaining Mojang cruft
2024-10-28 22:07:15 -04:00
Evan Goode
5c8bdf99cd
Gray out "Manage Skins" button for authlib-injector accounts
...
Support for this is blocked by
https://github.com/unmojang/FjordLauncher/issues/37 , which we can get to
after the 9.0 release.
2024-10-27 13:19:38 -04:00
Evan Goode
7dbaa896a6
Merge tag '9.0' into develop
...
This is an intermediate/halfway commit, more refactoring is needed to
get this to build.
2024-10-25 15:34:57 -04:00
Trial97
abedc6a23c
Improve login UI
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2024-05-15 17:25:15 +03:00
BatteredBunny
187475e35f
Adjusted AuthServerColumn to return authlibInjectorUrl instead of authServerUrl, make the column auto-resize
...
Signed-off-by: BatteredBunny <ayes2022@protonmail.com>
2024-01-23 22:38:41 +02:00
Evan Goode
8f540a5af1
Correctly save Mojang account type
...
Signed-off-by: Evan Goode <mail@evangoo.de>
2023-11-16 12:33:03 -05:00
Evan Goode
dcc2d77ebb
Fix offline accounts
...
Original authlib-injector work had a bug making offline accounts not
save correctly.
2023-11-16 01:15:17 -05:00
Evan Goode
cdb2f09bd4
Merge branch 'unmojang' into unmojang-8.0
2023-11-15 21:23:01 -05:00
Evan Goode
be8c8ad9ad
Auto migrate Ely.by accounts to authlib-injector
...
Signed-off-by: Evan Goode <mail@evangoo.de>
2023-11-15 15:23:24 -05:00
Evan Goode
9430026192
Merge tag '8.0' into unmojang-8.0
...
Upstream changelog: https://github.com/PrismLauncher/PrismLauncher/releases/tag/8.0
(Imcomplete) list of changes in 8.0 relevant to PollyMC:
- Prism has dropped support for Mojang accounts
- https://github.com/PrismLauncher/PrismLauncher/pull/1656
- Added it back to PollyMC primarily since the Mojang authentication
code is also used for authlib-injector accounts. Some users may also
still want to be able to log in to Mojang accounts for some reason:
https://github.com/fn2006/PollyMC/issues/115#issuecomment-1805384658 ,
even if they do not provide authentication to multiplayer servers.
- To my surprise, I could still log in to a Mojang account, get its
skin, and launch the game. Authentication to servers, of course, did
not work.
- Tested: logging into authlib-injector, Mojang, and MSA accounts and
launching the game.
- Prism has added a built-in updater for Windows and Linux that I assume
provides similar functionality to Sparkle on macOS:
https://github.com/PrismLauncher/PrismLauncher/pull/1268 . There is a
Launcher_UPDATER_GITHUB_REPO variable in CMakeLists.txt that specifies
the repo checked by the updater. I have changed this to the PollyMC
repository, and since PollyMC follows almost the same CI/release
patterns as Prism Launcher, it might work with PollyMC, too, but I
have not tested it yet.
- Add macOS support to Nix
- https://github.com/PrismLauncher/PrismLauncher/pull/1485
- Untested
- The "PollyMC-Linux-8.0.tar.gz" and similar build artifacts were
renamed to "PollyMC-Linux-8.0-Qt5.tar.gz" to match their
"PollyMC-Linux-8.0-Qt6.tar.gz" counterparts.
- Removed Windows MSVC Legacy builds
- Removed Quilt Beacon toggle, the beacon is now always disabled:
https://github.com/PrismLauncher/PrismLauncher/pull/1547 ,
https://github.com/PrismLauncher/meta/pull/23
- Prism removed FTB support in 7.0, but I tested creating an FTB
instance to make sure it still works in 8.0
Signed-off-by: Evan Goode <mail@evangoo.de>
2023-11-15 14:37:14 -05:00
Trial97
7c636d4608
Removed mojang
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-09-25 17:44:04 +03: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
b6904ba50a
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into develop
2023-09-04 00:39:20 +01:00
Sefa Eyeoglu
215d7dbb74
chore: update license headers
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-08-14 18:17:05 +02:00
Sefa Eyeoglu
91ba4cf75e
chore: reformat
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-08-14 18:16:53 +02:00
fn2006
847430b113
Merge branch 'release-7.x' of https://github.com/PrismLauncher/PrismLauncher into develop
2023-08-10 10:09:08 +01:00
Rachel Powers
b9fe37aec1
Merge branch 'develop' into chore/add-compiler-warnings
...
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-07-30 15:33:46 -07:00
TheKodeToad
648a69594f
Fix token "0" being replaced
...
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
(cherry picked from commit f505d43fc0
)
2023-07-24 18:41:43 +00:00
TheKodeToad
f505d43fc0
Fix token "0" being replaced
...
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-07-24 13:43:26 +01:00
Rachel Powers
8d7dcdfc5b
chore: fix shadowed member and signed/unsigned mismatch
...
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
chore: supress unused with [[maybe_unused]]
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
chore: unshadow ^&^& static_cast implicit return
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
chore: deshadow and mark unused in parse task
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
chore: mark unused in folder models
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
chore: deshadow and mark unused with instances
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
chore: more deshadow and unused
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
chore: remove uneeded simicolons
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
chore: mark unused
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
chore: prevent shadow
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-07-01 23:39:38 -07:00
fn2006
0170e8b177
Add Ely.by accounts ( #17 )
...
* Initial Ely.by support
* Fix profile pictures for Ely.by
* Disable upload and delete skin buttons for Ely.by accounts
* Port UltimMC's authlib injector to PollyMC
2022-08-19 12:22:38 +01:00
Sefa Eyeoglu
ff2cd50bfa
refactor: replace QRegExp with QRegularExpression
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10 12:17:52 +02:00
Gingeh
91b5f0228d
add tr() to offline account name
...
Co-authored-by: flow <flowlnlnln@gmail.com>
2022-06-30 08:59:41 +10:00
Gingeh
68d6ce60a9
Don't show account name for offline accounts
2022-06-29 18:42:01 +10:00
Sefa Eyeoglu
a160bd0062
chore: add license header to files I modified
2022-03-19 12:46:56 +01:00
Sefa Eyeoglu
be910374dc
feat(accounts): support msa-client-id value
2022-02-18 12:32:24 +01:00
bexnoss
9d23ac562f
Add offline mode support
2022-01-30 02:35:56 +01:00
Lenny McLennington
55597b458c
Revert "Merge pull request #50 from bexnoss/offline-mode"
...
This reverts commit b4f750e7db
, reversing
changes made to b19e315615
.
2022-01-17 03:45:47 +00:00
bexnoss
a1ff3b1ee3
Add offline mode support
2022-01-12 14:26:02 +01:00
Petr Mrázek
dba4c452e0
NOISSUE account tweaks
2021-12-08 01:22:57 +01:00
Petr Mrázek
475d949a1e
GH-4217 Add support for GamePass accounts and MC profile setup
...
- We now use the new endpoint for loggiong in via XBox tokens (/launcher/login)
- We now check game entitlements instead of only relying on MC profile presence
- Accounts can now be added even when they do not have a profile
- The launcher will guide you through selecting a Minecraft name if you don't have one yet
2021-11-10 03:02:51 +01:00
Petr Mrázek
1b68d51da6
NOISSUE add setting capes, tweak missing profile message, fix cape IDs
2021-08-20 01:34:32 +02:00
Petr Mrázek
3a53349e33
GH-3392 dirty initial MSA support that shares logic with Mojang flows
...
Both act as the first step of AuthContext.
2021-08-15 23:18:50 +02:00