Commit Graph

1097 Commits

Author SHA1 Message Date
huanghongxun
8892e2b273 feat(crash): fabric 0.12 may be incompatible with mods. 2021-10-12 23:39:12 +08:00
huanghongxun
2e8e6dd39e fix: mess tag. Closes #1090. 2021-10-12 23:16:01 +08:00
huanghongxun
3ac16b15c6 fix(multiplayer): should not show unsupported platform when running on 32-bit Java, but 64-bit OS. 2021-10-12 23:06:13 +08:00
huanghongxun
b5484bb13b fix(system): we may get x86_64 when running 32-bit JVM in 64-bit Windows. 2021-10-12 22:53:09 +08:00
huanghongxun
23c2c0689c feat(account): OAuth account relogin. 2021-10-12 22:00:41 +08:00
huanghongxun
3433e88bb8 feat(microsoft): WIP: handle credentials expiration. 2021-10-12 14:04:18 +08:00
huanghongxun
7d5a73828d feat(download): category 2021-10-10 22:20:32 +08:00
huanghongxun
fca78cf419 fix(crash): JVM_32BIT pattern. 2021-10-10 21:18:19 +08:00
huanghongxun
5f98c8c8bb feat(crash): detect memory exceeding. 2021-10-10 20:13:21 +08:00
huanghongxun
6221f4b616 feat(multiplayer): auto rejection. 2021-10-10 02:02:44 +08:00
huanghongxun
32d557ee07 fix(skin): CustomSkin API should have suffix slash. 2021-10-10 01:09:41 +08:00
huanghongxun
877c5a827c feat(multiplayer): join request should be cancelled when user operation time out. 2021-10-10 00:37:12 +08:00
huanghongxun
eedcff785e feat(multiplayer): an option for auto allowing all join requests. Closes #1093. 2021-10-10 00:37:11 +08:00
huanghongxun
20957106df feat(skin): custom model. 2021-10-09 17:49:17 +08:00
huanghongxun
f528f3bf40 feat(crash): UnsatisfiedLinkError. 2021-10-09 17:24:07 +08:00
huanghongxun
6ce5106271 fix: update curse fabric mod. Closes #1091. 2021-10-07 15:22:03 +08:00
huanghongxun
fdbe38496a fix: checkstyle. 2021-10-06 17:44:51 +08:00
huanghongxun
6c3178a831 feat(mod): mod update. 2021-10-06 03:22:13 +08:00
huanghongxun
d48591a4cd feat(mod): WIP: mod update. 2021-10-06 03:22:13 +08:00
huanghongxun
271885a85e fix(launch): On Linux x86_64, Minecraft 1.12.2- are not compatible with JDK 9+. 2021-10-06 03:22:12 +08:00
huanghongxun
9a46596b6c fix(skin): NPE. 2021-10-06 03:22:11 +08:00
huanghongxun
23750e1222 feat(mod): mod upgrade detection. 2021-10-06 03:22:09 +08:00
huanghongxun
ba0a7ddfa8 refactor(task): fix stage progress. 2021-10-06 03:22:08 +08:00
huanghongxun
31327d685b refactor(mod): ModInfo -> LocalMod 2021-10-06 03:22:07 +08:00
huanghongxun
bb6bd86e71 refactor(download): RemoteModRepository 2021-10-06 03:22:07 +08:00
huanghongxun
e934d6c983 feat(install): Optifine 1.17 compatible with Forge now. 2021-10-03 22:04:55 +08:00
huanghongxun
dfb2d3f2bf feat(feedback): implement feedbacks. 2021-10-03 20:34:42 +08:00
huanghongxun
cc8dd77d90 fix: cancellation exception. 2021-10-03 20:34:40 +08:00
huanghongxun
33aeb24dbe fix(download): no longer download fabric api list from bmclapi. 2021-09-30 19:35:47 +08:00
huanghongxun
36d1096976 fix: java version detection timeout. 2021-09-29 17:24:32 +08:00
huanghongxun
adb2ed0614 fix(download): only list required mod dependency 2021-09-28 20:30:36 +08:00
huanghongxun
8a9527bf38 feat(crash): show fabric mod confliction and missing. 2021-09-28 17:08:43 +08:00
huanghongxun
fac812f1dd fix(multiplayer): MultiplayerChannel works. 2021-09-28 02:05:22 +08:00
huanghongxun
c66cea41bd fix: offline account crash. 2021-09-28 01:44:57 +08:00
huanghongxun
8a3cdfb14c fix(multiplayer): wrong port. 2021-09-27 22:18:48 +08:00
huanghongxun
a58de31d4b feat: auto select java. Closes #1068. 2021-09-27 20:54:23 +08:00
huanghongxun
04e6897a0d feat: WIP: auto java. 2021-09-27 20:54:22 +08:00
huanghongxun
ecc38621df feat: print found java versions in log. 2021-09-27 13:05:46 +08:00
huanghongxun
35f2d89a23 fix(multiplayer): bind to 0.0.0.0 instead of 127.0.0.1. 2021-09-27 12:38:43 +08:00
huanghongxun
6c1046c060 feat(multiplayer): notify user if connection lost. 2021-09-26 03:08:06 +08:00
huanghongxun
7c76c919bc feat(multiplayer): custom token. 2021-09-26 00:34:18 +08:00
huanghongxun
7fd8e0721f feat: import .minecraft modpack. Closes #973. 2021-09-25 20:24:50 +08:00
huanghongxun
c60df2c26b chore: cleanup. Closes #989. 2021-09-25 02:11:31 +08:00
huanghongxun
cd030c1de0 feat: support change skin of offline accounts. 2021-09-25 02:04:25 +08:00
huanghongxun
01893b053d feat(skin): WIP: download skin from CSL server. 2021-09-23 23:41:45 +08:00
huanghongxun
1df5b0c629 fix: compilation. 2021-09-23 15:04:15 +08:00
Glavo
83dbeddb12 More OpenJDK Providers 2021-09-22 13:43:01 +08:00
Glavo
a8522320ed Search for Java installed by the official launcher 2021-09-22 13:43:01 +08:00
Glavo
bcaf3de164 fix #1054: Avoid incorrect UI layout caused by long strings 2021-09-22 13:39:59 +08:00
huanghongxun
3a4b4e129f fix: offline account skin 2021-09-22 13:38:26 +08:00
huanghongxun
fb7ff7b891 feat(multiplayer): check cato version before establishing connection. 2021-09-21 16:39:15 +08:00
huanghongxun
2f5a9a50af fix: checkstyle. 2021-09-21 10:19:07 +08:00
huanghongxun
e796e0f35e feat(offline-skin): WIP: implement yggdrasil server to serve skin/cape textures. 2021-09-21 09:35:14 +08:00
huanghongxun
ebeec04f83 feat: crash report analyzer more rules. 2021-09-21 06:43:52 +08:00
huanghongxun
798327eabb feat: crash report analyzer test. 2021-09-21 01:19:22 +08:00
huanghongxun
b95119bb0e feat: show more friendly message if installing mod in InstallerListPage. Closes #996. 2021-09-20 21:55:07 +08:00
huanghongxun
271fb4ce87 feat: show warning when logging in Microsoft account if app is released as snapshot version. 2021-09-20 19:36:11 +08:00
huanghongxun
37cee9cebd feat: show migration hint when 410. Closes #1045. 2021-09-20 18:07:51 +08:00
huanghongxun
0b2e9c3f62 feat: Mod dependencies & Mod downloads should be classified. 2021-09-20 17:36:02 +08:00
huanghongxun
f2741f9725 fix: crash when PATH is malformed. Closes #1048. 2021-09-20 17:36:02 +08:00
Glavo
e4a7ba0bb5 fix: build 2021-09-20 14:29:17 +08:00
huanghongxun
543238be4b fix: crash when concurrency is negative. 2021-09-19 10:42:55 +08:00
huanghongxun
c0f82b1ae7 feat: env vars for pre-launch command and post-exit command. 2021-09-19 02:44:51 +08:00
huanghongxun
c54a3f2053 feat(multiplayer): broadcast lan server. 2021-09-19 01:31:00 +08:00
huanghongxun
e90ec531e5 fix(task): test. 2021-09-19 00:43:22 +08:00
huanghongxun
ea9f547ada fix: FileDownloadTask does not fail if 404. 2021-09-18 23:26:37 +08:00
huanghongxun
28cc7c0700 fix: checkstyle. 2021-09-18 22:01:15 +08:00
huanghongxun
3513c1a431 chore: cleanup. 2021-09-18 15:49:07 +08:00
huanghongxun
5b4185840f fix: Cannot recognize MCBBS v2 modpack. Closes #1041. 2021-09-18 15:49:07 +08:00
huanghongxun
390f6e016d fix(task): wrong cancellation implementation. Closes #1035. 2021-09-18 15:49:07 +08:00
huanghongxun
ba41e6bc5e feat(multiplayer): invitation code generation. 2021-09-18 14:23:00 +08:00
huanghongxun
e821f7cb09 feat(auto-installing): download Fabric-API to mod folder. 2021-09-13 00:09:19 +08:00
huanghongxun
5c9deb129d feat(download): add import local modpack file button in modpack download page. 2021-09-12 23:38:47 +08:00
huanghongxun
f088bfa114 feat: search modrinth 2021-09-12 20:14:39 +08:00
huanghongxun
43ae5a24e5 fix: missing line separator before "cd". 2021-09-12 15:27:37 +08:00
Glavo
beea7d0ae2
Export logs using UTF-8 (#1028) 2021-09-12 15:25:54 +08:00
huanghongxun
b10330548e fix: doGet utf-8. #992. 2021-09-12 02:32:21 +08:00
huanghongxun
b689e68d46 fix: checkstyle and translations. 2021-09-12 01:46:09 +08:00
huanghongxun
87adbde965 feat(crash): some translations. 2021-09-12 01:41:33 +08:00
huanghongxun
d7f5109a65 fix: cannot display all game versions in some cases of DownloadPage. Closes #1007. 2021-09-12 01:41:32 +08:00
huanghongxun
1b3e4e5bd6 fix: Microsoft Account add family hint. 2021-09-12 01:41:30 +08:00
huanghongxun
0032242da6 feat: Mod chinese search 2021-09-12 01:41:30 +08:00
Glavo
2d543e69ff
fix: Read instance.cfg with wrong encoding (#1023) 2021-09-12 01:11:49 +08:00
Glavo
275c14f556
在更多位置搜索 JRE (#1024)
* Search JDK in 'Program Files (ARM)'

* fix: HMCL_JRES should use the root path of JRE
2021-09-12 01:11:31 +08:00
huanghongxun
f45e0abbf4 feat(mod): Chinese translations for mod names. 2021-09-11 20:08:38 +08:00
huanghongxun
e4847bbfcf Merge branch 'javafx' of https://github.com/huanghongxun/HMCL into javafx 2021-09-11 18:17:49 +08:00
Jason_Khew
c8ba03ae2b Fix MEMINFO_PATTERN is null 2021-09-11 13:11:46 +08:00
huanghongxun
784e22afa7 feat(crash-report): WIP: crash-report parser rules. 2021-09-10 23:22:27 +08:00
huanghongxun
eedb9f148c feat: change directory to game dir in generated shell scripts. 2021-09-10 23:19:12 +08:00
huanghongxun
95ea6610b1 feat: use available memory in Linux instead of free memory. 2021-09-10 20:58:40 +08:00
huanghongxun
8c3904cdcc feat: modify UUID of offline accounts. Closes #1003. 2021-09-09 22:09:12 +08:00
huanghongxun
108df2293b fix: 411 Length Required when POST live.com. 2021-09-09 22:09:12 +08:00
huanghongxun
7adc517872 fix: "does not support loading the entire remote list" 2021-09-09 14:08:46 +08:00
huanghongxun
e385a85755 feat: WIP: FeedbackPage 2021-09-09 14:08:46 +08:00
Glavo
8a908b06b6 fix typo 2021-09-08 15:06:12 +08:00
Glavo
d94b3385c7 fix: DirectoryStream not closed 2021-09-08 15:06:12 +08:00
Glavo
1b72e43cce follow environment variables when finding JREs 2021-09-08 15:06:12 +08:00
Glavo
6eeb2e922d
Merge branch 'javafx' into aarch64 2021-09-08 14:56:25 +08:00
huanghongxun
21e28ab038 feat: show more human-readable error message when no Java Edition profile existing in MicrosoftAccount. 2021-09-05 19:50:48 +08:00
huanghongxun
1000cc1ab0 feat: WIP: account login progress 2021-09-04 15:49:34 +08:00
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