Commit Graph

672 Commits

Author SHA1 Message Date
huanghongxun
61fd581ef5 Hide the separator line between refreshNavButton and window buttons when refreshNavButton is hidden 2018-08-07 18:08:20 +08:00
huanghongxun
51afcf2dee Use ZipFileSystem instead of commons-compress 2018-08-07 11:53:05 +08:00
huanghongxun
cadafe13e1 Remove IOUtils.closeQuietly 2018-08-07 11:53:05 +08:00
yushijinhun
3b42ba9375 Add version query when checking for update 2018-08-01 15:54:52 +08:00
huangyuhui
e31120be21 Friendly prompt that it cannot download some libraries successfully. 2018-07-22 18:50:44 +08:00
huangyuhui
c830bbc703 reorder version in main page 2018-07-21 21:58:46 +08:00
yushijinhun
cb6d8a88f1 Fix the old account isn't replaced when adding a same account 2018-07-21 12:31:08 +08:00
yushijinhun
170189c344 Refactor accounts 2018-07-20 20:26:27 +08:00
yushijinhun
f9e9c9d38b Use LinkedHashMap for mapOf 2018-07-20 20:26:27 +08:00
huangyuhui
1b62972f06 Fix 1.13 version parsing 2018-07-20 11:44:50 +08:00
yushijinhun
ec41c13b45 Update docs for tasks in org.jackhuang.hmcl.download.game 2018-07-18 20:05:54 +08:00
yushijinhun
486ca434ff Remove proxy HMCLDependencyManager 2018-07-18 20:05:54 +08:00
yushijinhun
06806bd383 Remove proxy from FileDownloadTask/GetTask/NetworkUtils 2018-07-18 20:05:54 +08:00
yushijinhun
2f6c7e1ce2 Remove proxy from AccountFactory 2018-07-18 20:05:54 +08:00
yushijinhun
846f383f7b Remove backgroundImageTypeProperty 2018-07-17 22:56:00 +08:00
yushijinhun
b0d71a5511 Let Config implement Observable 2018-07-17 22:56:00 +08:00
yushijinhun
5cf6ef88a6 Let Account implement Observable 2018-07-17 17:04:27 +08:00
huangyuhui
b5f72af513 Friendly hint of failing to rename game version 2018-07-16 20:39:21 +08:00
huangyuhui
1532893c5f Change current directory to run directory for launching scripts 2018-07-16 19:51:12 +08:00
huangyuhui
03bccf16d4 Remove replacement of logs 2018-07-11 20:56:36 +08:00
huangyuhui
dfd5a82112 Fix #365 by blocking all hacked Minecraft logs text as XML 2018-07-11 20:11:09 +08:00
huangyuhui
7dad8d452f Filter preview version of OptiFine 2018-07-11 13:08:08 +08:00
yushijinhun
0150e2a8d7 Support downloading authlib-injector from BMCLAPI 2018-07-09 13:17:19 +08:00
yushijinhun
333b11c19f Fix uncaught JsonParseException, mentioned in #367 2018-07-08 10:11:14 +08:00
yushijinhun
80815fc3a0 authlib-injector DnD support 2018-07-07 23:04:56 +08:00
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