1
0
mirror of https://github.com/SKCraft/Launcher.git synced 2024-11-23 12:05:44 +01:00
Commit Graph

370 Commits

Author SHA1 Message Date
Henry Le Grys
fd78863697 Make skin service return null on error 2021-02-18 21:22:58 +00:00
Henry
4177c15675
Redesign login dialogs & support new Microsoft logins (#398) 2021-02-17 01:15:39 +00:00
Henry Le Grys
c8bc7f68c6 Bump launcher version to 4.5 2021-02-16 22:20:10 +00:00
Henry Le Grys
8eb66d4c67 Clean up error reporting for Minecraft API authentication 2021-02-16 22:16:42 +00:00
Henry Le Grys
ff12d154c8 Convert avatarImage fields to type byte[] 2021-02-16 17:39:54 +00:00
Henry Le Grys
a7dcd2c7fb Prompt Microsoft's OAuth to allow account selection on sign-in
Since signing in via browser should be a rare event (thanks to our
automatic refreshing) it's not so bad that this increases login
friction.
2021-02-16 17:23:25 +00:00
Henry Le Grys
5cf38207ae Fix XSTS error codes being missed due to Jackson weirdness 2021-02-16 17:19:11 +00:00
Henry Le Grys
fec1eaacf4 Fix an NPE due to unfinished getLoginService method 2021-02-16 16:51:45 +00:00
Henry Le Grys
df6415eea4 Show XSTS error messages if non-empty 2021-02-15 21:24:39 +00:00
Henry Le Grys
832dab329a Fix unknown Xbox error formatting 2021-02-15 16:27:31 +00:00
Henry Le Grys
7803242ffa Issue a warning when reformatting URLs fails 2021-02-13 02:58:09 +00:00
Henry Le Grys
b979eb33c9 Set account dialog selection colors correctly 2021-02-13 01:51:53 +00:00
Henry Le Grys
571d1769a2 Remove Pack200 from bootstrapper & default to normal .jar filename 2021-02-12 22:41:04 +00:00
Henry Le Grys
8d3a172ee9 Improve progress messaging during long Microsoft login dance 2021-02-11 18:16:10 +00:00
Henry Le Grys
93c3f04cbb Handle cancelled OAuth requests 2021-02-11 18:01:13 +00:00
Henry Le Grys
1d4e46214b Report Xbox authentication errors 2021-02-11 17:40:59 +00:00
Henry Le Grys
b18c29a5ec Add account selector to creator tools 2021-02-10 01:46:46 +00:00
Henry Le Grys
6b442c771e Improve authentication error messages 2021-02-09 03:06:37 +00:00
Henry Le Grys
b189173b34 Use cached avatar in MicrosoftLoginService 2021-02-09 02:21:56 +00:00
Henry Le Grys
21a108f796 Remove Yggdrasil agent from properties file 2021-02-09 01:44:47 +00:00
Henry Le Grys
2ec8180d2a Add confirmation dialog for forgetting accounts 2021-02-09 01:41:49 +00:00
Henry Le Grys
3effa7d674 Re-add offline session button & alter play button 2021-02-09 01:36:04 +00:00
Henry Le Grys
d2127e9b13 Implement Microsoft OAuth login process 2021-02-09 01:24:55 +00:00
Henry Le Grys
3ddaea55dc Remove old replaced authentication classes 2021-02-08 21:46:33 +00:00
Henry Le Grys
194e977176 Flesh out account selector some more 2021-02-08 21:16:54 +00:00
Henry Le Grys
18a99b338e Fix persistence, download & persist avatar locally 2021-02-08 20:38:49 +00:00
Henry Le Grys
b6252863da Start refactoring auth framework
Featuring:
* New account selection dialog
* Upgrade to Java 8!
* Questionable transitional class names
* Lots of swing code!
2021-02-08 05:48:05 +00:00
Henry Le Grys
25a433ab5b Use explicit wait/notify for popup feature selection dialog
Was getting some persistent strange behaviours with this particular
invokeAndWait call, so I've swapped it out for a manually implemented
wait & notify
2021-02-07 00:41:46 +00:00
Henry Le Grys
4aaa4f9931 Update Gradle & plugins to support Java 9+ better 2021-02-05 04:05:48 +00:00
Henry Le Grys
ffd3e54fc8 Support unpacked jars in self-updater 2021-02-02 03:36:01 +00:00
Henry Le Grys
662162392e Allow bootstrap server to announce unpacked update jars
Pack200 is dead, this is the start of its removal
2021-02-02 03:18:22 +00:00
Henry Le Grys
27da4e8e4c Fix misspelled field in launcher configuration 2021-01-30 01:46:22 +00:00
Henry Le Grys
52c02edba0 Fix library compressor URL transformer 2021-01-29 18:09:49 +00:00
Henry Le Grys
40fcfdf992 Fix library handling bug in cases of bad JSON key ordering 2021-01-29 16:21:59 +00:00
Henry Le Grys
9aced19edc Change equals & hash code calculation for libraries
The two methods actually agree with each other now
2021-01-26 03:12:38 +00:00
Henry Le Grys
f880192919 Reduce game arguments to strings where possible
Helps to reduce the size of the manifest a little, and looks nicer!
2021-01-26 01:11:02 +00:00
Henry Le Grys
ec7b1ac2ae Bump creator tools version to 2.1.0 2021-01-25 18:39:48 +00:00
Henry Le Grys
0c336de81a Bump launcher version to 4.4 2021-01-25 18:39:19 +00:00
Henry Le Grys
3907158274 Disable automatically writing hashes to .url.txt files 2021-01-25 14:42:15 +00:00
Henry Le Grys
67f3fc1fa4 Add a scanner to download missing targets of .url.txt files 2021-01-25 14:38:26 +00:00
Henry Le Grys
d0d8ad79ee Fix native handling for cases where some platforms are not present 2021-01-25 13:00:24 +00:00
Henry Le Grys
3a7c250736 Improve fabric loader processor by better utilizing fabric meta API
Removes a bunch of hardcoded workarounds :)
2021-01-06 23:07:11 +00:00
Henry Le Grys
7707e5e45e Add support for HTTPS redirects 2021-01-06 03:21:40 +00:00
Henry Le Grys
92048fbd3a Ensure the launcher directory is referenced absolutely
Fixes #379
2021-01-05 23:06:24 +00:00
Henry Le Grys
f53ee9b6fa Ignore 'all artifacts' list during re-serialization 2021-01-05 03:53:47 +00:00
Henry Le Grys
15a87f0df3 Verify libraries & game jars during updates 2021-01-05 03:18:52 +00:00
Henry Le Grys
3981fe4ab2 Download all libraries for every platform when building packs 2021-01-05 02:59:33 +00:00
Henry Le Grys
d6ac0983de Fix forge loaders being named wrong & warning for wrong loader version 2020-12-25 00:49:55 +00:00
Henry
dd62193b0b
Fix extraction of folders inside ZipExtract (#271) 2020-12-24 23:18:54 +00:00
Henry
495d94370c
Use absolute paths for legacy launcher wrapper support (#335) 2020-12-24 18:58:03 +00:00