Commit Graph

2617 Commits

Author SHA1 Message Date
Glavo
efd76a1407 Download JRE instead of JDK; Add support for changing download sources 2022-03-01 23:27:51 +08:00
Glavo
48785e93f0 Import error messages 2022-03-01 23:27:51 +08:00
Glavo
20ddf60c48 Make HMCLLauncher find Java in more places 2022-03-01 23:27:51 +08:00
Glavo
1b9b0226f2 Automatically download Java when Java is not found 2022-03-01 23:27:51 +08:00
Glavo
a1f8ff7463 Extract and execute the script 'java-download.ps1' 2022-03-01 23:27:51 +08:00
Glavo
aafe7f44e7 Replace 'PathAppend' with 'MyPathAppend' 2022-03-01 23:27:51 +08:00
Glavo
8909224a13 Add 'java-download.ps' as win32 resource 2022-03-01 23:27:51 +08:00
Glavo
f5d01bef93 git: No longer track file 'HMCL.APS' 2022-03-01 23:27:51 +08:00
Glavo
f7de97c844 Fix download dialog title 2022-03-01 23:27:51 +08:00
Glavo
2136fddec5 Update java download window style 2022-03-01 23:27:51 +08:00
Glavo
312152de78 Download and install Java using scripts 2022-03-01 23:27:51 +08:00
Glavo
4fe7d10872 Find Java in HMCL directory 2022-03-01 23:27:51 +08:00
Glavo
9ec10dc5dc Extract 'FindJavaInDirAndLaunchJVM' 2022-03-01 23:27:51 +08:00
Glavo
2672459287 Check Windows version in HMCLLauncher 2022-03-01 23:27:51 +08:00
Glavo
8a8918c049 Try starting with JRE in 'jre-x86' on x64 2022-03-01 23:27:51 +08:00
Glavo
98e0a92745 Get system arch using 'GetNativeSystemInfo' 2022-03-01 23:27:51 +08:00
Glavo
2b21f5f48f Replace 'java.com' with 'www.microsoft.com/openjdk' 2022-03-01 23:27:51 +08:00
ZekerZhayard
69ddc939b3 Fix #645, #1381 2022-03-01 23:16:34 +08:00
Glavo
17ad6362c3 Use Commons Compress to readModpackManifest 2022-03-01 22:48:11 +08:00
Glavo
0f22c9e31a fix #1368: Guess Zip file encoding using Commons Compress 2022-03-01 22:48:11 +08:00
Lonelyxiya
07f9b30ed5 修订繁体中文里面的用语 整合包=模組包
修订繁体中文用语
2022-03-01 22:37:25 +08:00
Glavo
7756becb35 Add an eye-catching version isolation prompt 2022-02-09 15:08:54 +08:00
Gamom
cf2ac010bb Update bug-report.yml
修复About过长(???)
2022-02-03 22:15:18 +08:00
zkitefly
76c8e98c02 Update I18N_zh.properties 2022-02-03 22:14:36 +08:00
zkitefly
fe66b44b10 Update I18N_zh.properties 2022-02-03 22:14:36 +08:00
zkitefly
97695e4b5a Update I18N_zh_CN.properties 2022-02-03 22:14:36 +08:00
Gamom
59653f4030 Update bug-report.yml
添加英文
方便部分玩家反馈。
2022-02-03 18:18:32 +08:00
Glavo
530b632c46 Fix the problem that the suggestion does not prevent starting the game 2022-02-03 18:17:27 +08:00
Glavo
c8f1a10b8b Analyze the crash caused by incompatibility between modlauncher and Java 2022-02-03 18:17:27 +08:00
Glavo
84570c5024 fix import curse forge modpack without modlist.html 2022-02-03 18:16:48 +08:00
Glavo
624d21c4dc Show launcher version on game crash window 2022-02-03 18:16:08 +08:00
Glavo
8db54d015a When creating symbolic links, delete the existing ones first
fix #1342
2022-02-03 18:15:41 +08:00
kitefly
9204c720a4 Update I18N_zh.properties 2022-02-03 18:15:19 +08:00
kitefly
daf81b5d78 Update MultiplayerManager.java
更新一下版本号
2022-01-25 22:01:49 +08:00
Glavo
c2c3f55925 Replace 'Launcher.getCurrentJarFiles()' with 'JarUtils.thisJar()' 2022-01-25 22:01:39 +08:00
kitefly
ba520f1d90 Update I18N_zh_CN.properties 2022-01-25 22:00:58 +08:00
Glavo
81d1dbdcf0 fix the 'run' task of Gradle 2022-01-25 22:00:05 +08:00
kitefly
23cb2655d1 Update I18N_zh_CN.properties 2022-01-24 16:47:06 +08:00
huanghongxun
9c4f94238d feat: support hyperlinks in message dialog. 2022-01-24 16:29:33 +08:00
huanghongxun
d28723916d fix(multiplayer): incorrect cato arguments. 2022-01-24 01:45:23 +08:00
Glavo
65d4c9c8ee Fix build on JDK without JavaFX 2022-01-23 19:47:26 +08:00
Glavo
3a1f7a13a1 Add a new GameJavaVersion 'java-runtime-beta' 2022-01-23 19:47:07 +08:00
Glavo
69d97a508c Add JavaVersionConstraint rules 2022-01-23 19:47:07 +08:00
Glavo
e7dc23ae26 fix: Cato exit code is not displayed normally 2022-01-23 19:36:31 +08:00
huanghongxun
4cffe30910 fix: test build 2022-01-23 15:06:22 +08:00
NekoCaffeine
6f0dfba4aa fix updateSkin 2022-01-23 10:01:54 +08:00
NekoCaffeine
6d617216c7 fix #1130 2022-01-23 10:01:54 +08:00
kitefly
13d5e5e6af Update MultiplayerManager.java
更新cato版本;将String[] commands = new String[]{exe.toString(), "-auth.token", StringUtils.isBlank(token) ? "new" : token};改成String[] commands = new String[]{exe.toString(), "-auth.token", token};原因是新版cato已经取消这个now传值了
2022-01-23 09:59:19 +08:00
kitefly
c697413554 Update I18N_zh_CN.properties 2022-01-23 09:55:42 +08:00
kitefly
994ae3e2f5 Update I18N_zh_CN.properties 2022-01-23 09:55:42 +08:00