Commit Graph

1097 Commits

Author SHA1 Message Date
Glavo
d77a09042d fix ExceptionInInitializerError 2021-09-04 13:21:55 +08:00
huanghongxun
72ca0f20a1 feat: MicrosoftAccount: find skin by uuid instead of fetching profile. 2021-09-04 02:07:58 +08:00
Glavo
faede16662 fix: LZMAInputStream not closed 2021-09-03 14:41:24 +08:00
Haowei Wen
665b0c4390
wip: account refactor 2021-09-03 13:02:29 +08:00
Glavo
3314bf93b0 fix style 2021-09-03 03:55:56 +08:00
huanghongxun
243c9b83b9 feat: download concurrency settings. Closes #990. 2021-09-03 03:18:36 +08:00
huanghongxun
b3d083877f fix: javafx bound property 2021-09-03 03:18:35 +08:00
huanghongxun
96987763a5 feat: WIP: Fabric API install 2021-09-03 03:18:34 +08:00
Haowei Wen
e428cc7117
fix: check if property is bound before setting value of ReadWriteComposedProperty 2021-09-01 16:43:07 +08:00
huanghongxun
b700ad6b0c feat: refine download page. 2021-08-29 21:15:03 +08:00
huanghongxun
575f27cde1 feat: some sort of Minecraft CurseForge sections. 2021-08-29 17:19:35 +08:00
huanghongxun
48aab94fdf feat: balanced download provider. Closes #959. 2021-08-29 17:19:09 +08:00
huanghongxun
19bcf453a5 fix: cannot launch fabric 1.18 experimental version. Closes #950. 2021-08-29 17:18:07 +08:00
huanghongxun
0210b9fd3d feat: balanced download provider & show release date in download versions page & download page ui refactor. 2021-08-29 17:16:58 +08:00
huanghongxun
a20331dfa8 fix: cannot build by latest IDEA. 2021-08-29 17:00:36 +08:00
huanghongxun
088b2f146f fix: AutoDownloadProvider not fully adapted file requests. 2021-08-29 17:00:15 +08:00
huanghongxun
f2ff523109 feat: [STDERR/] as error message. 2021-08-29 08:03:31 +08:00
huanghongxun
13038437fd fix: some stderr not recognized. 2021-08-29 07:57:15 +08:00
huanghongxun
f8eae1f534 feat: WIP auto choose download source. 2021-08-29 06:57:24 +08:00
huanghongxun
d5e2bc455f fix: replace ${file.jarVersion} in mods.toml. 2021-08-29 06:26:37 +08:00
huanghongxun
5a1ebe906d fix: no longer check linux for free memory size. 2021-08-29 04:27:31 +08:00
huanghongxun
c23b9511b8 feat: option to use system glfw/OpenAL. Closes #958. 2021-08-29 04:26:12 +08:00
huanghongxun
6ee39aa302 fix: checkstyle 2021-08-29 02:01:40 +08:00
huanghongxun
90ee87062f feat: new memory settings 2021-08-28 23:34:03 +08:00
huanghongxun
dc32151501 fix: process microsoft account login error code. 2021-08-28 19:37:51 +08:00
huanghongxun
b9382ce966 fix: macos also support 'nice' command. 2021-08-28 18:54:09 +08:00
huanghongxun
dc3caea2f4 Merge commit '9bef8b432b9095bdb470f7a1e7c1ce8fcab37c01' into javafx 2021-08-28 16:41:29 +08:00
huanghongxun
cc868656a8 fix: mess code in Microsoft login page. Closes #981. 2021-08-28 16:27:27 +08:00
huanghongxun
96e6554b37 fix: remove useless Content-Type header in GET request. Closes #984. 2021-08-28 16:26:19 +08:00
Haowei Wen
e37322d147
fix: NPE caused by uninitialized processPriority 2021-08-27 20:05:18 +08:00
huanghongxun
e9061ebc8b feat: process priority 2021-08-26 03:52:32 +08:00
huanghongxun
f5a16ae005 fix: sponsor mess code 2021-08-24 03:44:12 +08:00
huanghongxun
837c7adaa7 fix: crash when profile outdated 2021-08-24 01:35:25 +08:00
huanghongxun
c18b0510bc feat: sponsor list 2021-08-23 00:30:07 +08:00
huanghongxun
f79465038b fix: remove debug statements 2021-08-22 22:18:02 +08:00
huanghongxun
54fe311a3d fix: checkstyle 2021-08-22 21:32:54 +08:00
huanghongxun
3b8a0989de fix: Microsoft Account refresh token 2021-08-22 21:29:08 +08:00
huanghongxun
5890f0c782 feat: authenticate Microsoft accounts via external browser 2021-08-22 20:35:30 +08:00
huanghongxun
66bb27c4dd fix: incorrect detected forge version. Closes #961. 2021-08-21 15:50:22 +08:00
huanghongxun
f00afbe1b5 feat: support mcbbs modpack second edition. Closes #964. 2021-08-21 15:01:30 +08:00
huanghongxun
7da9d0f283 feat: cache detected game version 2021-08-21 14:41:56 +08:00
Haowei Wen
c660b1d3f8
fix: version id checking not working properly 2021-08-20 23:13:11 +08:00
Haowei Wen
588fe5cb5f fix: hide GameVersionList$1 task 2021-08-20 07:30:19 +08:00
Haowei Wen
e138815c7b patch forge installer DOWNLOAD_MOJMAPS task to use mirrors 2021-08-20 07:30:19 +08:00
Haowei Wen
9bc10fb27d use separate tasks for forge installer processors 2021-08-20 07:30:19 +08:00
Haowei Wen
69ded66c92
fix: callExternalProcess() not displaying stderr 2021-08-19 02:11:14 +08:00
Haowei Wen
3c8d17b564
fix: files from maven.minecraftforge.net not downloaded from mirror 2021-08-19 00:47:37 +08:00
huanghongxun
e61af71415 fix: cannot launch game with bootstraplauncher > 0.1.17. 2021-08-14 18:29:25 +08:00
huanghongxun
b2594122a8 feat: display mod description and website url. Closes #945. 2021-08-07 16:18:23 +08:00
huanghongxun
b8ca9a3b09 fix: sort mod downloads. Closes #942. 2021-08-05 01:51:16 +08:00
Yuhui Huang
37fb9a0d65 feat: (modpack download): category & sort. 2021-08-03 22:47:53 +08:00
Yuhui Huang
af7cf393dc feat: download mods and modpacks from CurseForge. 2021-08-03 22:07:19 +08:00
Yuhui Huang
7a20af462b feat: (WIP) Curse mod/modpack download 2021-08-02 23:11:30 +08:00
Yuhui Huang
5d0d77aff4 style: fix checkstyle. 2021-08-02 15:03:39 +08:00
huanghongxun
9b6b3f8938 fix: no longer validate Forge dependencies since provided checksums are wrong. Closes #913. 2021-07-31 02:10:04 +08:00
huanghongxun
331d8d1bb6 fix: does not remove the old library when updating the library 2021-07-31 02:02:06 +08:00
huanghongxun
e5cca24740 fix: Version.jar becomes wrong value after resolvePreservingPatches 2021-07-31 02:01:17 +08:00
huanghongxun
6f40335322 feat: print more effective logs when OptiFine Patcher failed to patch game. 2021-07-31 02:00:13 +08:00
Yuhui Huang
5f8f01e0ab Revert "fix: Version.jar should be resolved to id of self if null instead of the id of ancestor.". Closes #934.
This reverts commit 5de150b06e.
2021-07-28 16:15:11 +08:00
huanghongxun
1dc4e3f730 fix: 1.17 Forge auto installation 2021-07-25 17:29:00 +08:00
huanghongxun
14d1bccd14 fix: update condition check for whether the game is modded. 2021-07-25 15:58:22 +08:00
huanghongxun
5de150b06e fix: Version.jar should be resolved to id of self if null instead of the id of ancestor. 2021-07-25 01:21:08 +08:00
Haowei Wen
e7d5faeeac
fix: DirectoryStream not closed
dc31674721 (r53347194)
2021-07-12 13:19:16 +08:00
huanghongxun
dc31674721 fix: Do not throw exception when path to cached jvm installations does not exist. 2021-07-10 23:24:31 +08:00
Glavo
afe6bc7456
用户 JVM 参数优先于默认参数 (#903)
* close #885: use the GC selected by user by default

* fix: default JVM args conflict with user args

* Options take precedence over JVM args

* compile huge methods by default

* update settings.advanced.jvm_args text

* Using JVM args suppression options

* update settings.advanced.jvm_args text
2021-07-10 23:10:04 +08:00
huanghongxun
378fd04463 feat: placeholders in user customized game arguments. Closes #920 2021-07-10 23:09:11 +08:00
huanghongxun
3e751ba5c6 chore: some comments on "libraries_directory" 2021-07-10 23:08:39 +08:00
Glavo
8fc1ec7bb8
替换对 JDK 内置 Pack200 的依赖,允许在 JDK14 及更高版本上构建项目 (#904)
* fix: Pack200 has been removed

* Automatically add pack200 to class path

* add license header to Pack200Utils.java
2021-07-10 22:44:13 +08:00
huanghongxun
e5326a3c4d fix: switch to "library_directory" defined by official launcher 2021-07-10 21:22:57 +08:00
huanghongxun
fe279234d8 feat: Support "invalid" hash code in download info 2021-07-10 21:16:34 +08:00
huanghongxun
ef9b041310 feat: Support placeholders in version.json. Closes #923 2021-07-10 21:16:33 +08:00
Ghost_chu
9db576d4bc
修复在manifest中的因拼写问题造成的与文档不符的问题 (#921) 2021-07-09 13:02:17 +08:00
huanghongxun
36b58bd1bb feat: Support CurseForge modpack with Fabric as modloader. Closes #897. 2021-06-12 01:25:10 +08:00
huanghongxun
a0191aa7c2 fix: lint 2021-05-30 03:37:55 +08:00
huanghongxun
fc017515c5 feat: check style & format 2021-05-30 03:34:44 +08:00
huanghongxun
228695d511 fix: NPE 2021-05-29 17:22:06 +08:00
Glavo
c2af530abb feat: lookup JRE installation in more places. 2021-05-29 17:18:56 +08:00
huanghongxun
69bc826e30 feat: BMCLAPI now supports downloading Java 16. 2021-05-29 17:17:00 +08:00
huanghongxun
5d0944ed19 feat: lookup JRE installation in more places. 2021-05-29 17:06:08 +08:00
huanghongxun
3e5fac4df6 feat: lookup JRE installation in more places. 2021-05-29 16:50:07 +08:00
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
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
huanghongxun
58cdc68b6e fix: wrong failure URL 2020-02-28 16:06:02 +08:00
huanghongxun
1ca4045a2f alt: rename natives directory 2020-02-22 23:13:52 +08:00
huanghongxun
fb4a499fe9 fix: #678 2020-02-22 23:13:09 +08:00
huanghongxun
0fa324452f fix: cannot change init window dimension 2020-02-21 00:23:21 +08:00
huanghongxun
0b0118446f fix: download empty file from MCBBS 2020-02-20 14:35:10 +08:00
huanghongxun
5c19dcd208 fix: game crashes when asset index file is empty 2020-02-20 14:22:55 +08:00
huanghongxun
0a68e52fca fix: tasks with default name will not be displayed 2020-02-20 14:06:03 +08:00
huanghongxun
5c25ab3eda add: stages of modpack installation 2020-02-20 14:03:11 +08:00
huanghongxun
91682aeafa add: redownload corrupt files when game crashed 2020-02-20 00:02:56 +08:00
huanghongxun
cd9180c69a fix: removing modpack with incomplete installation 2020-02-19 22:50:48 +08:00
huanghongxun
b4ec71d65f alt: redownload asset index if it is empty 2020-02-19 21:49:58 +08:00
huanghongxun
1a0be11ae3 fix: incorrect download speed 2020-02-19 21:49:27 +08:00
huanghongxun
b72d42a09a fix: task accidental disappearance 2020-02-19 21:48:59 +08:00
huanghongxun
c26579bebd add: show stages of game installation 2020-02-19 16:51:05 +08:00
huanghongxun
1ea9170b2e add: more brief launching steps 2020-02-19 13:34:40 +08:00
huanghongxun
1b1f532988 add: retry other download providers for libraries 2020-02-19 00:16:12 +08:00
huanghongxun
ca577475fc add: retry other download providers when one failed. 2020-02-19 00:10:39 +08:00
huanghongxun
bc4b41e8cd add: clear button for cache directory 2020-02-17 00:46:11 +08:00
huanghongxun
a1226012ff add: increase download concurrency. According to https://www.bilibili.com/video/av89055581. 2020-02-17 00:20:17 +08:00
huanghongxun
8b16e8be4d fix: incorrect log in GetTask 2020-02-13 14:42:42 +08:00
huanghongxun
37d62b665e fix: fabric support from BMCLAPI and mcbbs 2020-02-13 14:34:48 +08:00
huanghongxun
979e58edf1 alt: not removing game if curse mod cannot be downloaded 2020-02-13 00:11:45 +08:00
huanghongxun
b1301dcdec add: BMCLAPI support for fabric download 2020-02-09 00:55:51 +08:00
huanghongxun
bdb6784a9b fix: broken error handling 2020-02-06 12:47:25 +08:00
huanghongxun
0d906e0adf fix: #664 2020-02-06 12:46:38 +08:00
huanghongxun
4923370897 fix: #661 2020-02-05 15:25:28 +08:00
huanghongxun
bdee33456b fix: #662 2020-02-05 14:36:44 +08:00
huanghongxun
5a8446524a update copyright 2020-02-05 13:13:10 +08:00
huanghongxun
b864ea89d7 add: restore old sync task executor 2020-02-05 11:58:50 +08:00
huanghongxun
04aa257b48 refactor: extract superclass of TaskExecutor 2020-02-05 11:58:28 +08:00
huanghongxun
1b466eb33f fix: recognizing CancellationException as crash 2020-02-04 22:49:49 +08:00
huanghongxun
c7e3639155 fix: download missing library more than one time 2020-02-04 22:38:59 +08:00
huanghongxun
9c1905bb51 no longer download file from BMCLAPI when the official download provider is activated 2020-02-04 15:26:37 +08:00
huanghongxun
31e39900b6 fix: unable to launch when asset index not downloaded 2020-02-04 15:20:07 +08:00
huanghongxun
25e4fa3834 add: friendly prompt of corrupt forge installer 2020-02-03 12:09:06 +08:00
huanghongxun
9849b5659b fix: #654 2020-02-03 00:33:59 +08:00
huanghongxun
43428c054a add: auto fix malformed asset index file 2020-02-02 23:35:47 +08:00
huanghongxun
1d579c52eb fix: unable to cancel tasks 2020-02-02 23:34:42 +08:00
huanghongxun
214ff9de94 add: MCBBS download provider 2020-02-02 23:32:01 +08:00
huanghongxun
bb2e74009e fix: #596 2020-01-14 11:51:01 +08:00
huanghongxun
53366ee284 fix: mess quote escaping in Windows 2020-01-14 11:50:16 +08:00
huanghongxun
f3434fe2a8 Fix #644 2020-01-14 10:58:15 +08:00
huanghongxun
acda1952ca Fix #641 2020-01-14 10:17:46 +08:00
huanghongxun
084b15e113 fix: delete installed curse when some mods failed 2020-01-14 10:11:30 +08:00
huanghongxun
30499aa623 fix: unable to launch vivecraft 2020-01-14 01:20:59 +08:00
huanghongxun
20d5957331 Update license headers of source files. Closes #640 2020-01-07 00:11:53 +08:00
huanghongxun
829d92c8bb Exclude logs and CustomSkinLoader cache 2019-12-14 12:51:16 +08:00
huanghongxun
71131dadb7 Fix #632 2019-12-14 12:50:22 +08:00
huanghongxun
61abed04f3 Fix crash 2019-12-14 12:14:08 +08:00
huanghongxun
6e79d287f3 Revert "Fix #632"
This reverts commit 30f86571
2019-12-14 09:20:01 +08:00
huanghongxun
30f8657174 Fix #632 2019-12-14 00:32:14 +08:00
huanghongxun
0cee859e15 always download missing files for server modpack 2019-11-22 10:57:40 +08:00
huanghongxun
956b4e4a6a Add fileApi option in modpackInfoPage 2019-11-12 17:49:26 +08:00
huanghongxun
4e0ffc8d1e Support Server Auto-Update Task. Closes #624 2019-11-11 17:35:03 +08:00
huanghongxun
177935241f Support download modpack from direct download url 2019-11-11 17:34:59 +08:00
huanghongxun
f133fcf66c Fix NPE 2019-11-11 17:34:58 +08:00
huanghongxun
869f57cbf1 avoiding crash when recorded AI server url is malformed 2019-11-11 17:34:58 +08:00
huanghongxun
a2540c2e9b Fix #619 2019-10-10 16:51:01 +08:00
huanghongxun
4737240c91 Add: forgesvc for Curse Mod Detection fallback 2019-10-10 16:46:32 +08:00
huanghongxun
944d88b8af Fix: keep not completed Curse modpack game version 2019-10-10 16:39:27 +08:00
huanghongxun
529c4ed420 Fix: ConcurrentModificationException 2019-10-10 16:03:25 +08:00
huanghongxun
e0ebb02530 Fix: java.nio.file.InvalidPathException 2019-10-10 15:53:47 +08:00
huanghongxun
be22d55cec Fix: java.lang.IllegalArgumentException: MALFORMED[1] 2019-10-10 15:24:37 +08:00
huanghongxun
993ce660aa Fix: not recognizing java 12 2019-09-29 18:46:03 +08:00
huanghongxun
ba699c4ed5 Fix NPE 2019-09-12 16:38:28 +08:00
huanghongxun
bc96afd0cd Fix #605 2019-09-12 15:51:20 +08:00
huanghongxun
5eba896e6d Fix forge installer 404 2019-09-09 16:49:36 +08:00
huanghongxun
e69d149c34 Fix HMCL import 2019-09-09 15:32:55 +08:00
huanghongxun
2f9955febd No longer report JsonParseException 2019-09-05 19:06:09 +08:00
huanghongxun
df39be708f Check if given game version is malformed 2019-09-05 17:49:59 +08:00
huanghongxun
ce3b9e3b1f FIx: unable to download Forge installer 2019-09-05 15:49:27 +08:00
huanghongxun
a9feb65fc8 Try to fix ConcurrentModificationException 2019-08-25 15:35:17 +08:00
huanghongxun
369b9bb6cf Fix #603 2019-08-24 11:57:43 +08:00
huanghongxun
c9b6f2f62f Collect uncaught RuntimeException thrown in task execution 2019-08-24 11:49:53 +08:00
huanghongxun
e2787af044 no longer force using javaw 2019-08-20 00:54:12 +08:00
huanghongxun
30c27bbb67 MultiMC fabric and local libraries 2019-08-20 00:53:59 +08:00
huanghongxun
7aee7e33d0 Making versions whose library being removed pure patched 2019-08-20 00:53:36 +08:00
huanghongxun
11e66ac13c Support changing game version 2019-08-19 16:05:40 +08:00
huanghongxun
a2ac3c1f18 Hide generated resolved patches in InstallerListPage 2019-08-19 15:39:30 +08:00
huanghongxun
c5919f2719 Fix OptiFine installation 2019-08-19 00:18:34 +08:00
huanghongxun
fb24516b90 Show unrecognized patches in InstallerListPage 2019-08-19 00:17:03 +08:00
huanghongxun
60fa4eb0a1 Fix LibrariesUniqueTask changing order of classpath 2019-08-19 00:16:02 +08:00
huanghongxun
536576084d Fix forge local installation 2019-08-19 00:12:28 +08:00
huanghongxun
c62cc499c5 Show HMCL version in game main menu 2019-08-18 10:54:05 +08:00
huanghongxun
c11bbf8836 Fix failure of auto-installing more than one library 2019-08-18 10:27:48 +08:00
huanghongxun
71c0cede24 Fixed unrecognizing Optifine jar file 2019-08-18 10:27:12 +08:00
huanghongxun
ad16bbc96d Disable failure test 2019-08-17 12:13:05 +08:00
huanghongxun
520ffe4c09 Add missing license header 2019-08-17 00:45:47 +08:00
huanghongxun
e3f603c145 Repackaging 2019-08-17 00:12:02 +08:00
huanghongxun
880b8cb072 Support exporting multimc modpack 2019-08-16 21:13:54 +08:00
huanghongxun
eb6baa8ad1 Support fabric auto-installation 2019-08-16 12:35:56 +08:00
huanghongxun
d53d56d93a Renaming json as well as jar when the folder is renamed manually 2019-08-16 00:29:52 +08:00
huanghongxun
b11acb7762 Make auto-installing more flexible 2019-08-16 00:18:52 +08:00
huanghongxun
51aa0dd851 Fix non-idea-compilable errors 2019-08-15 12:54:39 +08:00
huanghongxun
861b0a1c62 Add exceptional functional interfaces 2019-08-15 12:53:52 +08:00
huanghongxun
27a33f567f add missing setCacheDirectory directives 2019-08-15 12:45:31 +08:00
huanghongxun
e862a4b46b Fix #592 2019-07-28 20:16:12 +08:00
huanghongxun
2b3e8ebfc0 Merge branch 'javafx' of https://github.com/huanghongxun/HMCL into javafx 2019-07-28 20:05:18 +08:00
asl97
0454ff9bf7 Fix #586 2019-07-27 01:21:11 +08:00
huanghongxun
a7c02e2dea name task async 2019-05-13 00:05:08 +08:00
huanghongxun
cfb9610afc Merge branch 'task-refactor' into javafx
# Conflicts:
#	HMCL/src/main/java/org/jackhuang/hmcl/ui/LeftPaneController.java
#	HMCL/src/main/java/org/jackhuang/hmcl/ui/account/AccountListItemSkin.java
#	HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/InstallerListPage.java
#	HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/WorldListPage.java
#	HMCL/src/main/java/org/jackhuang/hmcl/upgrade/UpdateHandler.java
#	HMCLCore/src/main/java/org/jackhuang/hmcl/download/DefaultDependencyManager.java
#	HMCLCore/src/main/java/org/jackhuang/hmcl/download/DefaultGameBuilder.java
#	HMCLCore/src/main/java/org/jackhuang/hmcl/download/MaintainTask.java
#	HMCLCore/src/main/java/org/jackhuang/hmcl/download/forge/ForgeInstallTask.java
#	HMCLCore/src/main/java/org/jackhuang/hmcl/download/optifine/OptiFineInstallTask.java
2019-05-10 10:33:06 +08:00
huanghongxun
300efb99d2 Fix #540 2019-05-09 00:49:10 +08:00
yushijinhun
6fb3610bcc
Refresh skins on startup
Mentioned in #539
2019-05-02 12:40:46 +08:00
yushijinhun
43fb3ca10a
Fix illegal texturePayload may cause crash 2019-05-02 12:35:43 +08:00
yushijinhun
adc360eaaa
Fix #548 2019-05-02 00:12:33 +08:00
huanghongxun
5e659352d7 Support install Forge/OptiFine from local file 2019-04-30 20:26:31 +08:00
huanghongxun
ea19e6efd8 Add Fabric installerItem in list page 2019-04-29 17:57:04 +08:00
huanghongxun
55d38f2b36 Fix importing fabric multimc instance 2019-04-28 14:18:04 +08:00
huanghongxun
e0abf3e0c1 Support fabric detection 2019-04-28 14:17:28 +08:00
huanghongxun
1956ba7a73 Force refreshing version list when remove version from disk 2019-04-25 13:39:07 +08:00
huanghongxun
c209617ee7 Try to fix ConcurrentModificationException 2019-04-25 13:38:44 +08:00
huanghongxun
b198eea9e4 Friendly prompt if response code is not OK 2019-04-03 14:05:14 +08:00
huanghongxun
3f4364c67c Fix cannot launch a game multiple times 2019-03-24 12:14:13 +08:00
huanghongxun
23e2df5e58 Unzip natives to /versions/ reducing trashes in temp 2019-03-21 11:08:00 +08:00
huanghongxun
3d008dcab5 Make DatapackListPage multiple-selectable 2019-03-19 10:31:02 +08:00
huanghongxun
2dce675fe2 Ignore all color formatting in world name. 2019-03-18 23:24:50 +08:00
huanghongxun
f866f692e2 Hide ForgeNew/OldInstallTask 2019-03-18 20:17:03 +08:00
huanghongxun
1eb4b1ca9e Fix unable to delete the version which failed to download 2019-03-05 19:37:37 +08:00
huanghongxun
bf37db2cbe Fix #538 2019-03-05 19:32:24 +08:00
huanghongxun
5b30617a6b Forbid user from installing both Forge 1.13 and OptiFine simultaneously 2019-03-04 12:27:09 +08:00
huanghongxun
266c686a3a Fix forge 1.13 installation 2019-03-04 11:39:30 +08:00
huanghongxun
32d0d6a7ee Add some task test 2019-02-26 15:28:40 +08:00
huanghongxun
d9a336e50b Remove redundant codes 2019-02-26 13:29:09 +08:00
huanghongxun
3c958d06c8 Replace scheduler to executor 2019-02-26 11:39:38 +08:00
huanghongxun
15a75a69b3 Fix exception handling 2019-02-26 08:17:46 +08:00
huanghongxun
cae32cff4c remove isDependentSucceeded in whenComplete 2019-02-25 23:59:21 +08:00
huanghongxun
eeef76594f Rename task.lastException -> task.exception 2019-02-25 22:17:30 +08:00
huanghongxun
8f2a1030bc Refactor Task 2019-02-24 23:27:53 +08:00
huanghongxun
def45cc3e4 Fix NumberFormatException when parsing forge version list json 2019-02-24 23:11:09 +08:00
huanghongxun
8007f1958e Rename isDependentsSucceeded to isDependentSucceeded 2019-02-24 17:00:17 +08:00
huanghongxun
b22e724a3f Remove SilentException 2019-02-24 12:39:40 +08:00
huanghongxun
ed66b016db Rename then-series functions 2019-02-24 12:39:39 +08:00
yushijinhun
9f85e4a63b
Do not run GameVersion.minecraftVersion on UI thread 2019-02-24 12:25:19 +08:00
yushijinhun
7fcd4d94a6
Merge branch 'javafx' of github.com:huanghongxun/HMCL into javafx 2019-02-23 23:52:26 +08:00
yushijinhun
84fbca7905
Remove unused code 2019-02-23 23:48:23 +08:00
huanghongxun
9add2387b9 Add comments to FileUtils and IOUtils 2019-02-23 23:42:05 +08:00
huanghongxun
a388450f94 Remove AutoTypingMap 2019-02-23 22:50:01 +08:00
huanghongxun
fff7abc2ac finalized no longer passes AutoTypingMap as callback parameter 2019-02-23 22:50:00 +08:00
yushijinhun
7c89fac1e9
Rename MultiStepBinding->BindingMapping 2019-02-23 22:14:29 +08:00
yushijinhun
bc9a9ffb72
rewrite MultiStepBinding.asyncMap 2019-02-23 21:58:44 +08:00
yushijinhun
1bf2f17538
Fix #533 2019-02-23 18:38:43 +08:00
huanghongxun
608a531655 Remove AtomicReference 2019-02-20 20:18:34 +08:00
huanghongxun
e57180eb15 remove lastException in task.variables 2019-02-20 20:07:43 +08:00
huanghongxun
3ae826d9ca Fix task.getLastException does not receive subtasks' value 2019-02-20 20:07:11 +08:00
huanghongxun
e940845c60 Fix not correct mod installation 2019-02-20 16:40:26 +08:00
huanghongxun
d8aa989cc4 Fix #532 2019-02-19 23:15:45 +08:00
huanghongxun
a3dc7798e7 fetch Forge remote version list only from BMCLAPI 2019-02-17 14:01:05 +08:00
huanghongxun
9062c2e447 Display more friendly error message when fail to install library 2019-02-17 13:45:10 +08:00
huanghongxun
c2d609cdb4 Use TableView in ModListPage to allow multiple selection 2019-02-15 19:39:43 +08:00
yushijinhun
758216245f
Add missing license headers 2019-02-13 20:05:01 +08:00
huanghongxun
9ced29aa93 Display furnace image as default for modded 1.13 game 2019-02-11 19:53:55 +08:00
huanghongxun
c889d7cb3f Download missing game jar when launching 2019-02-11 19:36:19 +08:00
huanghongxun
84636f3f50 Merge branch 'javafx' of https://github.com/huanghongxun/HMCL into javafx 2019-02-10 10:51:39 +08:00
huanghongxun
9a6f07d7c9 make DefaultGameRepositoy.readVersionJson nonnull. 2019-02-10 10:51:04 +08:00