Commit Graph

751 Commits

Author SHA1 Message Date
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
yuhuihuang
00b945f6e3 fix: #746 2020-08-01 15:08:12 +08:00
yuhuihuang
4ce0a83845 feat: display new version of updated modpack. Closes #748. 2020-07-19 15:19:53 +08:00
huanghongxun
dc03f28d56 refactor: WizardDisplayer 2020-06-26 21:29:47 +08:00
huanghongxun
bd18355a1a fix: NPE 2020-06-26 21:25:26 +08:00
huanghongxun
63082f5a5e fix: #731 2020-06-21 17:13:23 +08:00
huanghongxun
3119b4d88d fix: #728 2020-06-16 14:30:11 +08:00
huanghongxun
6532dc72db fix: proxy settings not applied to game 2020-06-16 13:24:43 +08:00
huanghongxun
fd24fcc0f2 fix: map_to_resources in asset_index.json 2020-06-16 13:12:41 +08:00
huanghongxun
0d3e204f0d fix: #724 2020-06-14 20:06:19 +08:00
huanghongxun
64d9fa7c6b fix: #729 2020-06-14 19:51:46 +08:00
huanghongxun
6eb0c16fcc fix: retry url in LibraryDownloadTask 2020-06-01 13:26:28 +08:00
huanghongxun
5805914ebb fix: upload skin 2020-06-01 11:59:21 +08:00
huanghongxun
bfb55a3813 add: upload skin 2020-05-31 23:00:44 +08:00
huanghongxun
a2ef477ae0 add: forbids installation buttons for incompatible libraries. Closes #720. 2020-05-31 22:24:03 +08:00
Yuhui Huang
42d42e9750
fix: #619 2020-05-26 17:19:55 +08:00
Asnxthaony
e6d11fe9a3
feat: send accept language header 2020-05-24 14:54:07 +08:00
huanghongxun
7c510f9fb8 add: allow installing OptiFine 1.14.4 and Forge in same game version 2020-05-03 19:21:54 +08:00
huanghongxun
b53a3ebcc2 alt: add logs to figure out the reason why app crashes. 2020-04-29 22:58:25 +08:00
huanghongxun
94db91b7c1 fix: f**king ZipFileSystem 2020-04-29 21:44:51 +08:00
huanghongxun
4f70465395 fix: crash when JavaSoft registries are malformed. 2020-04-29 21:41:58 +08:00
huanghongxun
3ae1c3467b fix: IllegalArgumentException 2020-04-29 20:18:43 +08:00
huanghongxun
1bba1b427c fix: support downloading files from urls whose protocols are not http. 2020-04-29 20:17:13 +08:00
huanghongxun
4bac9380d1 fix: game crash when Forge, OptiFine are both installed. 2020-04-25 16:46:53 +08:00
huanghongxun
fec5c9a5ce fix: AccessDeniedException when updating server modpack 2020-04-25 01:14:31 +08:00
huanghongxun
bc842437fa fix: breaking versions that inherit from a version being renamed 2020-04-23 12:28:11 +08:00
huanghongxun
d574d8d78b fix: InvalidPathException when custom run directory is not valid 2020-04-23 11:13:03 +08:00
huanghongxun
eb9d123176 fix: IllegalArgumentException 2020-04-23 09:50:22 +08:00
huanghongxun
383de6cb2e fix: crash when renaming game version 2020-04-23 08:12:19 +08:00
huanghongxun
43de254a98 fix: ConcurrentModificationException 2020-04-23 08:02:55 +08:00
huanghongxun
02cb2a3fb1 add: accept authlib-injector artifact in current working directory 2020-04-22 23:52:51 +08:00
huanghongxun
e630c6dff7 fix: downloading libraries of optifine 2020-04-18 18:57:01 +08:00
huanghongxun
859da37d71 fix: not generating modpack.cfg when CurseCompletionTask fail 2020-04-17 23:46:08 +08:00
huanghongxun
5893eae87f fix: cannot rename game version sometimes 2020-04-17 23:45:15 +08:00
huanghongxun
99f42db370 fix: fail to update 2020-04-17 14:17:10 +08:00
huanghongxun
1eeba344f7 fix: game is blocked for launching 2020-04-17 00:15:34 +08:00
huanghongxun
f84c4310f9 alt: do not retry when server respond with 404 2020-04-15 13:46:44 +08:00
huanghongxun
97e8ff91ea alt: print the reason why renaming version failed 2020-04-15 13:31:58 +08:00
huanghongxun
6ca7a86189 fix: not checking corruption of forge installer 2020-04-15 13:14:16 +08:00
huanghongxun
4382326dec fix: not closing JarFile 2020-04-14 15:07:21 +08:00
huanghongxun
5adbac3cc9 fix: #699 2020-04-14 15:02:52 +08:00
huanghongxun
0d59e52ff9 fix: prelaunch command not tokenized 2020-04-12 16:52:06 +08:00
huanghongxun
feb30a7349 fix: wrongly considering Forge 1.12.2 not compatible with OptiFine 2020-04-12 14:16:09 +08:00
huanghongxun
c28dfd0ae0 add: support change download provider in install wizard 2020-04-12 00:41:12 +08:00
huanghongxun
986a430e92 refactor: ensure that VersionLists fetch original download URL 2020-04-12 00:41:12 +08:00
huanghongxun
14cfd6abeb add: support variables in prelaunch command which is supported by MultiMC. Closes #698 2020-04-08 21:18:25 +08:00
huanghongxun
b957ca1931 fix: cannot download library when .pack.xz responded not 404 2020-04-08 21:17:21 +08:00
huanghongxun
bf4c831047 fix: forge 2852 2020-04-07 16:32:29 +08:00
huanghongxun
8df651c5a8 add: scroll to game crash report automatically 2020-04-06 13:21:17 +08:00
huanghongxun
d00b269786 fix: not shutting down executor service after game launched. 2020-03-31 21:54:00 +08:00
huanghongxun
cbc85dd99e add: export game logs, use ListView instead of WebView in LogWindow, 2020-03-30 21:47:23 +08:00
huanghongxun
d84877dfcc refactor: Move EnumGameDirectory into HMCLCore 2020-03-30 16:16:41 +08:00
huanghongxun
e68a3c7cd4 add: retry other download source in auto installation 2020-03-22 13:19:43 +08:00
huanghongxun
e166651fe7 fix: #688 2020-03-22 13:12:39 +08:00
huanghongxun
b2f6ef72c3 add: copy instance. Closes #687 2020-03-19 13:12:51 +08:00
huanghongxun
6a982b2a5c add: allow removing libraries in vanilla installation 2020-03-16 22:49:15 +08:00
huanghongxun
ee8be3166f fix: changing game version without alerting incompatibility 2020-03-11 00:27:29 +08:00
huanghongxun
8fd500e931 fix: forbids OptiFine and Fabric coexistence 2020-03-11 00:18:29 +08:00
huanghongxun
2b9f070279 fix: #683 2020-03-10 17:50:25 +08:00
huanghongxun
a53603dbbf fix: #582 2020-03-09 12:07:09 +08:00
huanghongxun
4332bc124e fix: unable to launch 2020-03-08 20:49:00 +08:00
huanghongxun
20d0a2ae62 fix: fail to launch 2020-03-08 11:14:11 +08:00
huanghongxun
7b6a96b4b6 fix: compatibility issue with other launchers using auto-installation 2020-03-06 12:23:34 +08:00
huanghongxun
3efec78732 add: show asset and mod download progress 2020-03-03 00:59:15 +08:00
huanghongxun
120238b234 Merge branch 'gui' into javafx 2020-03-02 16:21:22 +08:00
huanghongxun
334e93196b add: change look of scroll bar 2020-03-01 20:49:26 +08:00
huanghongxun
24a6c2d3ba fix: wrong forge installer failure prompt 2020-02-28 16:09:09 +08:00