Glavo
|
55092326a4
|
Use StringWriter instead of ByteArrayOutputStream
|
2021-12-10 14:18:08 +08:00 |
|
Glavo
|
10dbcf63b7
|
Adjust the default capability to reduce memory allocation
|
2021-12-10 14:18:08 +08:00 |
|
Glavo
|
32fad77104
|
Optimize logging performance
|
2021-12-10 14:18:08 +08:00 |
|
SettingDust
|
05d2fbbbb9
|
fix(core): zipper lose the file attributes
|
2021-12-10 14:17:03 +08:00 |
|
huanghongxun
|
83b4b58cb2
|
feat(crash): 1.18 requires Java 17. Closes #1186.
|
2021-11-22 01:54:05 +08:00 |
|
huanghongxun
|
db721107ae
|
fix(microsoft): remove redundant login steps.
|
2021-11-09 00:35:52 +08:00 |
|
huanghongxun
|
5b9be471e3
|
fix(microsoft): should not pass client secret when refreshing token. Closes #1164.
|
2021-11-06 22:32:08 +08:00 |
|
Glavo
|
eb472037db
|
fix: checkstyle
|
2021-11-03 17:30:27 +08:00 |
|
Glavo
|
7a71ecf177
|
Fix #1153: On Windows, the 'classpath' environment variable in the context overrides the 'CLASSPATH'
|
2021-11-02 22:46:13 +08:00 |
|
huanghongxun
|
f67c3d5284
|
fix(launch): cannot launch game in path that contains CJK characters. Closes #1141.
|
2021-10-30 23:03:49 +08:00 |
|
Glavo
|
46385a8445
|
Do not delete soft links when exiting HMCL
|
2021-10-30 23:01:27 +08:00 |
|
Glavo
|
9f617c33f5
|
Support path containing unicode characters on Linux
|
2021-10-30 23:01:27 +08:00 |
|
Glavo
|
6aef034880
|
Avoid generating command lines repeatedly
|
2021-10-30 23:01:27 +08:00 |
|
huanghongxun
|
c4941a01d6
|
fix(multiplayer): show "failed to test" instead of "testing".
|
2021-10-30 22:40:44 +08:00 |
|
huanghongxun
|
a240b8ca9f
|
fix(skin): Do not load authlib-injector when skin manually set to steve/alex.
|
2021-10-29 22:52:16 +08:00 |
|
Glavo
|
026239903d
|
Fix IllegalAccessError: tried to access protected method
|
2021-10-25 17:23:07 +08:00 |
|
huanghongxun
|
8d559dba02
|
feat(multiplayer): verify checksum. Closes #1122.
|
2021-10-23 23:28:55 +08:00 |
|
Glavo
|
8b224cb240
|
Avoid throwing NPE when the Java version cannot be obtained
|
2021-10-23 22:06:07 +08:00 |
|
huanghongxun
|
651aedaa50
|
feat(microsoft): use device code to login.
|
2021-10-23 02:22:04 +08:00 |
|
huanghongxun
|
a36b0ebed2
|
feat: WIP: use commons-compress
|
2021-10-23 01:47:24 +08:00 |
|
huanghongxun
|
5a9e8683e4
|
feat(microsoft): WIP: use device code grant flow instead.
|
2021-10-23 00:01:55 +08:00 |
|
huanghongxun
|
7bad0be2c4
|
fix: incorrect system architecture detection in macOS.
|
2021-10-22 22:02:28 +08:00 |
|
huanghongxun
|
192a0c987e
|
fix: unable to rename game versions that do not have jar file in directory.
|
2021-10-22 22:02:27 +08:00 |
|
huanghongxun
|
610864d674
|
feat(launch): compatible with TLauncher.
|
2021-10-22 22:02:27 +08:00 |
|
huanghongxun
|
74a20bf11d
|
feat(crash): find module name in stacktrace if available.
|
2021-10-20 02:17:58 +08:00 |
|
huanghongxun
|
16c96419d3
|
feat(crash): TwilightForest may be incompatible with OptiFine on Minecraft 1.16.5.
|
2021-10-20 02:09:50 +08:00 |
|
huanghongxun
|
7846e9e196
|
fix: checkstyle.
|
2021-10-20 01:15:22 +08:00 |
|
huanghongxun
|
a74b971b98
|
fix(auto-installing): verify fabric api file.
|
2021-10-20 01:15:21 +08:00 |
|
huanghongxun
|
6707ce1ed9
|
feat(crash): read crash report from raw log as fallback.
|
2021-10-20 01:15:21 +08:00 |
|
huanghongxun
|
1762e78cb3
|
fix(java): java7 suggestion warning.
|
2021-10-19 23:17:27 +08:00 |
|
huanghongxun
|
2631f3a007
|
fix(java): test forge installation instead of main class.
|
2021-10-19 23:11:13 +08:00 |
|
huanghongxun
|
f70ec8a090
|
fix(launch): cannot launch far old versions on macOS.
|
2021-10-19 23:07:00 +08:00 |
|
huanghongxun
|
a4f22671c6
|
feat(java): download java 8/16 when auto selected java not found.
|
2021-10-18 23:38:57 +08:00 |
|
huanghongxun
|
71c23df971
|
feat: use ArrayUtils from commons-lang3 instead.
|
2021-10-18 15:33:44 +08:00 |
|
huanghongxun
|
45d5ef4602
|
build: commons-lang3 & commons-compress.
|
2021-10-18 03:28:09 +08:00 |
|
huanghongxun
|
f01c0408e1
|
fix: misused skin texture as cape texture. Closes #1106.
|
2021-10-17 00:32:48 +08:00 |
|
huanghongxun
|
a6e593e3a1
|
feat(multiplayer): timeout for cato main net connection.
|
2021-10-17 00:32:47 +08:00 |
|
Glavo
|
16952f5695
|
Update script format
|
2021-10-16 00:01:17 +08:00 |
|
Glavo
|
67feca075b
|
Allow users to export PowerShell scripts
|
2021-10-16 00:01:17 +08:00 |
|
Glavo
|
12368375cf
|
Pass classpath by environment variable
|
2021-10-16 00:01:17 +08:00 |
|
Glavo
|
284ffb7aa0
|
Clearly specify the in all places
|
2021-10-14 23:09:06 +08:00 |
|
Glavo
|
1aefb26575
|
Extract duplicate code
|
2021-10-14 22:27:34 +08:00 |
|
Glavo
|
670d0f8462
|
Remove unnecessary code
|
2021-10-14 22:27:34 +08:00 |
|
Glavo
|
d68e988c15
|
Relax timeout restrictions
|
2021-10-14 22:27:34 +08:00 |
|
Glavo
|
74fd35047c
|
Use 'PROCESSOR_IDENTIFIER' to determine the architecture on Windows
|
2021-10-14 22:27:34 +08:00 |
|
Glavo
|
f662e983a4
|
Improve 'Architecture'
|
2021-10-14 22:27:34 +08:00 |
|
Glavo
|
4a82daccec
|
fix: checkstyle
|
2021-10-14 22:27:34 +08:00 |
|
Glavo
|
21e44bbc90
|
Do not automatically select Java non for x86 and x86-64
|
2021-10-14 22:27:34 +08:00 |
|
Glavo
|
42a40a844a
|
Minor improvements
|
2021-10-14 22:27:34 +08:00 |
|
Glavo
|
cd7c515097
|
Accurately obtain the Windows version number; Report error when users try to run minecraft using java for other platforms
|
2021-10-14 22:27:34 +08:00 |
|
Glavo
|
9595626a27
|
Enhance JavaVersionConstraint
|
2021-10-14 22:27:34 +08:00 |
|
Glavo
|
74a305c32a
|
Download Java on MacOS aarch64
|
2021-10-14 22:27:34 +08:00 |
|
Glavo
|
3af115ce37
|
Use separate native folder for each platform
|
2021-10-14 22:27:34 +08:00 |
|
Glavo
|
0a54037460
|
Improve 'Architecture' and 'JavaVersion'
|
2021-10-14 22:27:34 +08:00 |
|
Glavo
|
dd8da57cfb
|
New 'Platform' class
|
2021-10-14 22:27:34 +08:00 |
|
Glavo
|
9b6f2d00ca
|
Rename 'Platform' to 'Bits'
|
2021-10-14 22:27:34 +08:00 |
|
huanghongxun
|
673bc75cd5
|
fix(javafx): should download javafx at beginning, not let user choose download source first.
|
2021-10-13 13:58:33 +08:00 |
|
huanghongxun
|
c9a73a366d
|
fix: test.
|
2021-10-13 02:39:25 +08:00 |
|
huanghongxun
|
7973179ddf
|
feat(crash): ModResolutionException (Could not resolve valid mod collection)
|
2021-10-13 02:32:56 +08:00 |
|
huanghongxun
|
6b656bdc48
|
chore(crash): some comment.
|
2021-10-12 23:56:34 +08:00 |
|
huanghongxun
|
428c1a1799
|
feat(java): WIP: show expected java version range when no valid java.
|
2021-10-12 23:49:06 +08:00 |
|
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 |
|