Commit Graph

917 Commits

Author SHA1 Message Date
huanghongxun
e01096bff0 fix: lint 2021-05-29 15:15:40 +08:00
yaoxi-std
2a0cfb1125 fixed bugs 2021-05-29 01:23:58 +08:00
yaoxi-std
d4f0a04ccd change NativesDir into LaunchOptions 2021-05-29 01:23:58 +08:00
yaoxi-std
7cbe24b35b add: allow customize LWJGL path (runs on M1) 2021-05-29 01:23:58 +08:00
huanghongxun
f2d3d24338 feat: load downloaded java installations. 2021-05-24 20:46:31 +08:00
huanghongxun
e8a64f52f0 fix: downloading java runtime from mojang 2021-05-23 14:24:53 +08:00
huanghongxun
f55fe0fc45 fix: Compilation Error 2021-05-19 00:45:21 +08:00
Glavo
1e3a5f9515 fix: --illegal-access will be removed in Java 17 2021-05-18 15:42:46 +08:00
huanghongxun
a9c7eb0954 feat: download specified jre from mojang 2021-05-18 00:53:26 +08:00
huanghongxun
289472d8ba feat: more accurate system architecture normalization 2021-05-18 00:53:09 +08:00
Glavo
fcd7d8ba83 fix: Build failure at ClassicVersion::ClassicVersion() 2021-05-17 01:10:05 +08:00
Glavo
a53d2a1370 fix: IllegalAccessError on Java 16 2021-05-16 22:31:32 +08:00
yuhuihuang
20148d0b02 fix: G1 not proposed in Java7? 2021-05-13 16:46:23 +08:00
huanghongxun
3114e33067 feat: Version.javaVersion 2021-05-13 13:04:12 +08:00
Haowei Wen
cc087dee81 fix: not compatible with Gradle 7.0
* use api & implementation scope, instead of compile
* add shadow plugin back
  * related: https://github.com/huanghongxun/HMCL/pull/863
  * the duplicate entry bug is fixed
* move dependencies from root project to HMCLCore module
2021-04-29 15:19:27 +08:00
huanghongxun
0aa0fa1b78 chore: try to figure out why NPE thrown calling builder.start() 2021-04-26 11:47:56 +08:00
huanghongxun
e36105d937 Reland: create modpack with launcher packed in 2021-04-22 08:40:11 +08:00
ZekerZhayard
b521c5b76a Compatible with Java 16. 2021-04-16 12:18:05 +08:00
huanghongxun
2d4223f7ed fix: Suppress IOException when caching downloaded library. Closes #834. 2021-04-11 00:18:04 +08:00
huanghongxun
2184961e3c Add: download and patch JavaFX before start. Closes #800. 2021-04-10 17:13:25 +08:00
huanghongxun
8afd8bde8b Fix: failed to parse datapack pack.mcmeta in 6th format. Closes #840. 2021-04-10 17:13:25 +08:00
Haowei Wen
65952a5d81 feat: set ServerResponseMalformedException's message to response content 2021-03-07 13:24:16 +08:00
Haowei Wen
ac1f2ec1ed fix: skin upload: error message from server is not displayed 2021-03-07 13:24:16 +08:00
Haowei Wen
e3fa7428bf feat: automatically detect skin model when uploading 2021-03-07 13:24:16 +08:00
huanghongxun
7ece35e28a fix: move .hmcl directory to $HOME/.cache/hmcl to fulfill XDG standard. Closes #849. 2021-03-07 13:21:57 +08:00
huanghongxun
d22dae9834 feat: Add progress gui for downloading JavaFX 2021-03-07 13:15:44 +08:00
Haowei Wen
734c1e14f0 fix: not compatible with ely.by
Ely.by's Yggdrasil response does not include 'user' field.
This commit makes the 'user' field optional.
2021-02-15 16:32:18 +08:00
huanghongxun
46869ad5f7 fix: not update game/addons for server modpack 2021-02-02 12:13:37 +08:00
huanghongxun
13fa713d58 fix: mcbbs modpack completion 2021-01-26 12:25:06 +08:00
huanghongxun
f2a86857bc feat: MCBBS modpack 2021-01-16 16:17:54 +08:00
huanghongxun
2d7c1393d6 fix: #813 2020-12-26 21:31:10 +08:00
huanghongxun
3d33230e25 fix: RejectedExecutionException 2020-12-26 21:28:59 +08:00
yuhuihuang
dd4683e693 fix: Microsoft Account login 2020-12-24 20:32:47 +08:00
huanghongxun
8bc5d2112f fix: #801 2020-12-21 01:56:46 +08:00
huanghongxun
a828896989 fix: executor service 2020-12-19 20:19:46 +08:00
yuhuihuang
5e8734aa95 fix: compilation 2020-12-10 22:09:19 +08:00
Haowei Wen
3f85ac208c impl yushijinhun/authlib-injector#90 2020-12-10 21:56:31 +08:00
yuhuihuang
c191186023 feat: Microsoft Account authentication 2020-12-10 21:47:58 +08:00
yuhuihuang
4715a95a54 feat: initial multithreaded downloading 2020-12-10 21:47:58 +08:00
huanghongxun
8108f11c45 Merge branch 'javafx' of https://github.com/huanghongxun/HMCL into javafx 2020-09-04 00:49:03 +08:00
huanghongxun
f4f1850271 fix: try to fix blocking game running when launcher visibility was set to close after game started. 2020-09-04 00:38:38 +08:00
Haowei Wen
5a81972f68 impl https://github.com/yushijinhun/authlib-injector/issues/85 2020-08-31 19:16:22 +08:00
huanghongxun
674dfca34d fix: #784 2020-08-27 11:20:07 +08:00
yuhuihuang
cafcb74e22 fix: #774 2020-08-16 14:52:17 +08:00
yushijinhun
2f10948239 implement yushijinhun/authlib-injector#78 2020-08-14 17:26:05 +08:00
BBleae
c3f19d2c4a perf: cache Java version from executable. 2020-08-11 15:58:46 +08:00
yuhuihuang
58819b6361 fix: test 2020-08-09 19:20:52 +08:00
yuhuihuang
c60261d917 fix: #755 2020-08-09 18:29:01 +08:00
yushijinhun
94b6d7596e Redesign authlib-injector updater
The process of searching for authlib-injector.jar has been changed to:
1. use ~/.hmcl/authlib-injector.jar if present
2. use ./authlib-injector.jar if present
3. download if none of above is present

Instead of checking for updates when logging in, we now do it at startup.
We only check for updates if there is at least one authlib-injector
server configured.

This changed is expected to imporve launching speed.
2020-08-09 17:59:36 +08:00
yushijinhun
ae63b9712e Revert "add: accept authlib-injector artifact in current working directory"
This reverts commit 02cb2a3fb1.
2020-08-09 17:59:36 +08:00