Commit Graph

247 Commits

Author SHA1 Message Date
huangyuhui
a853374a88 Support new MultiMC modpack 2018-07-07 00:48:48 +08:00
huangyuhui
1f30c299a5 Fix #360 2018-07-01 13:34:52 +08:00
huanghongxun
c887d7e649
Merge pull request #358 from yushijinhun/authlib-injector
重构 authlib-injector 下载,并切换到新 API
2018-07-01 11:54:55 +08:00
yushijinhun
3fc7743a14
Add missing license header 2018-06-30 22:45:57 +08:00
yushijinhun
2a232f70db
Refactor authlib-injector downloading, switch to new API 2018-06-30 22:45:57 +08:00
yushijinhun
7ee7ef25f9
Refactor integrity check in FileDownloadTask, support multi algorithms 2018-06-30 22:43:57 +08:00
huangyuhui
2bd4bc1472 Add debug message in Task.run 2018-06-30 22:24:46 +08:00
yushijinhun
a82eb996a4
Add missing license header 2018-06-30 21:54:31 +08:00
yushijinhun
9315684ee3
Use CredentialExpiredException to indicate password login
instead of Non-ServerDisconnectException
2018-06-30 21:53:11 +08:00
yushijinhun
cfb0526cbb
Fix potential NPE in YggdrasilAccount(selectedProfile is null) 2018-06-30 20:54:27 +08:00
yushijinhun
9fa56a9cd4
Regard token to be invalid only when remote throws ForbiddenOperationException 2018-06-30 18:52:37 +08:00
huangyuhui
d9293f4da8 Display remote error message when RemoteAuthenticationException thrown 2018-06-21 19:31:16 +08:00
huangyuhui
573f41611d Force using Java 8 when launching Minecraft 1.13 or later 2018-06-17 18:13:47 +08:00
yushijinhun
bdee9ea72f
将获取验证服务器信息的代码移入AuthlibInjectorServer 2018-06-17 14:26:38 +08:00
yushijinhun
110149d0e6
AuthlibInjectorAccountFactory的addtionalData改为AuthlibInjectorServer类型 2018-06-16 23:14:04 +08:00
yushijinhun
76a259c107
AuthlibInjectorAccount中存储AuthlibInjectorServer对象而不是url 2018-06-16 21:26:36 +08:00
yushijinhun
5f40d01fb4
在AuthlibInjectorAccountFactory中使用AuthlibInjectorServer而不是url 2018-06-16 21:26:36 +08:00
yushijinhun
10d4084dde
AuthlibInjectorServerInfo重命名为AuthlibInjectorServer
更正其它措辞:ip->url
2018-06-16 21:26:34 +08:00
yushijinhun
22732fee6a
存储AuthlibInjectorServerInfo对象而不是url字符串 2018-06-16 21:24:30 +08:00
yushijinhun
593159f4a6
将DEFAULT_ICON移至Constants, 并使用懒加载
当类初始化时, JavaFX可能还未启动, 这将使图像加载失败
2018-06-16 20:10:10 +08:00
huangyuhui
eb565285b2 Fix curse mod downloading 2018-06-10 20:05:36 +08:00
huangyuhui
38c6bce2c0 Change log folder to ~/.hmcl 2018-06-09 17:37:43 +08:00
yushijinhun
631337c451
YggdrasilAccount记录角色uuid而不是名称
注:旧版本无法读取此版本配置(移除了character)。
2018-06-08 21:13:33 +08:00
yushijinhun
4f51e377ae
移除canPlayOffline() 2018-06-08 21:09:35 +08:00
yushijinhun
e71c06a0d0
Arguments.addXXX改为链式调用 2018-06-08 21:09:35 +08:00
yushijinhun
13aabde5d9
完善Account文档 2018-06-08 21:09:35 +08:00
huanghongxun
e3f371f457
Merge pull request #344 from yushijinhun/javafx
修复YggdrasilAccount读取到了错误的character
2018-06-08 16:36:50 +08:00
yushijinhun
6ee99b5736
修复YggdrasilAccount读取到了错误的character
引入:6c4231a6b2 (diff-839dd42e51cd641828b00c5302c02b12R50)
2018-06-08 16:31:56 +08:00
huangyuhui
37a39098f8 Try to fix VersionNotFoundException. Closes #298 2018-06-08 16:05:33 +08:00
huangyuhui
110b7cb06f Should fix 'Never get to here' 2018-06-08 13:55:38 +08:00
huangyuhui
475e6e5511 Remove redundant URLs that download providers provide. Mentioned in #242 2018-06-08 13:13:42 +08:00
huangyuhui
f640922a50 Optimize imports 2018-06-08 12:47:34 +08:00
huangyuhui
118a6cf0d1 Fasten version item construction 2018-06-08 12:45:44 +08:00
yushijinhun
61acbcec0d
移除GameProfile类的TypeAdapter 2018-06-07 22:28:17 +08:00
yushijinhun
06af79e2b4
移除对legcay账户的支持 2018-06-07 22:25:31 +08:00
yushijinhun
6782602141
重构YggdrasilService相关代码 2018-06-07 21:12:38 +08:00
yushijinhun
8df17ae38a
使用静态方法pair()替代new Pair<>() 2018-06-07 21:08:25 +08:00
yushijinhun
6a04ab37d7
清理Hex 2018-06-07 12:17:58 +08:00
yushijinhun
27c9abd9ed
清理DigestUtils 2018-06-07 12:16:34 +08:00
yushijinhun
a08be2e11d
移除Charsets类 2018-06-07 11:47:36 +08:00
huanghongxun
17615b1791
Merge pull request #340 from yushijinhun/javafx
修复 Java 选择相关 bug
2018-06-07 01:15:44 +08:00
yushijinhun
d75c3b584a
修复加载JREs时可能的并发修改异常 2018-06-07 01:06:13 +08:00
huangyuhui
20f919b93e Merge branch 'javafx' of https://github.com/huanghongxun/HMCL into javafx 2018-06-07 00:53:56 +08:00
huangyuhui
20244fe5cc Fasten versions loading 2018-06-07 00:50:15 +08:00
yushijinhun
6a89f0a661
将当前Java版本包含在getJREs()中 2018-06-07 00:28:33 +08:00
huanghongxun
3a9efdb03e
Merge pull request #339 from yushijinhun/multiple-java
Linux下自动检测Java + 允许多个相同版本的JRE
2018-06-06 23:57:24 +08:00
huangyuhui
a9261b759b Shutdown Now to prevent NPE when task executed after app closed 2018-06-06 23:52:23 +08:00
yushijinhun
6b02dc3cd5
允许多个相同版本的Java共存 2018-06-06 23:43:58 +08:00
yushijinhun
afa37c0d2f
自动检测Linux下的Java 2018-06-06 23:01:27 +08:00
yushijinhun
bbe584bd91
修复无法显示未设置皮肤的Yggdrasil账户的皮肤的问题 2018-06-02 19:21:41 +08:00