Commit Graph

43 Commits

Author SHA1 Message Date
Glavo
89b5b64943
放弃 HMCLauncher 与 Windows XP 的兼容性 (#2644)
* 放弃 HMCLauncher 与 Windows XP 的兼容性

* update

* Delete unused code

* Disable automatic updates on Windows XP/Vista
2024-01-21 00:06:25 +08:00
Glavo
96df35f728
将 HMCLauncher 源码转换为 UTF-8 编码 (#2641) 2024-01-13 03:26:58 +08:00
zkitefly
126a6dbbed
Update HMCLauncher (#2264)
* 更新 lang.h

* 更新 main.cpp

* 更新 HMCLauncher.sh
2023-06-24 09:40:13 +08:00
zkitefly
a3eaccb45b
exe and sh download java link update (#1903)
* Update main.cpp

* exe and sh download java link update

* fix
2022-12-06 13:33:00 +08:00
zkitefly
e0c97da9fd
Update main.cpp (#1900) 2022-12-03 23:22:15 +08:00
Glavo
c6a5624708
引导用户下载 Java (#1659)
* Direct users to download Java

* Read JVM options from environment variables
2022-08-28 17:00:15 +08:00
Glavo
db735b58ec No longer download from tuna mirror 2022-03-01 23:27:51 +08:00
Glavo
17fe11e8f5 Download Zulu by default 2022-03-01 23:27:51 +08:00
Glavo
fc65d8a535 Fix the problem that SSL connection cannot be established on Windows 7 2022-03-01 23:27:51 +08:00
Glavo
6ade056bf8 Enable Visual Styles 2022-03-01 23:27:51 +08:00
Glavo
a5ebf08a8c Reduce refresh UI controls 2022-03-01 23:27:51 +08:00
Glavo
ca2eccc762 Fix compatibility issues with Windows XP 2022-03-01 23:27:51 +08:00
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
Glavo
1b4a53f572 Update version string to 3.5 2021-12-21 22:26:02 +08:00
huanghongxun
ae8600c882 feat: update HMCLauncher. Closes #1014. 2021-09-20 21:25:28 +08:00
huanghongxun
0256b8a971 feat: force application running on dedicated graphics card. So Minecraft can also run on dedicated graphics card too. 2021-09-10 21:21:51 +08:00
xtex
0d69e944f6 fix: #930(Search new Java registry location first) 2021-07-25 17:29:44 +08:00
huanghongxun
6d75c4d34f chore: C++ google style 2021-05-30 02:42:39 +08:00
huanghongxun
258a6628e4 fix: Cannot start application when code page is 65001. Closes #814.
This commit may cause breaking change: changing working directory to the directory where the executable locates in.
2021-05-30 02:25:31 +08:00
huanghongxun
61597cb83d feat: EXE launcher no longer reject Java 11 and later. 2021-05-24 21:39:16 +08:00
Glavo
382e0f3b1d fix #871: update lang.h 2021-05-17 01:10:05 +08:00
yuhuihuang
61447f0964 fix: #741 2020-07-19 14:20:42 +08:00
huanghongxun
eab4463c2d HMCLauncher: verify if JVM version is between 8 and 10 2019-02-14 15:34:52 +08:00
huanghongxun
9a6f07d7c9 make DefaultGameRepositoy.readVersionJson nonnull. 2019-02-10 10:51:04 +08:00
huanghongxun
426ea607e8 HMCLauncher: try bundled JRE 2019-02-08 22:05:16 +08:00
huanghongxun
3a294e354a ExeLauncher: Search Java in C:/Program Files 2018-08-08 21:16:57 +08:00
huangyuhui
3da0c1d8e3 Abandon Launch4j which will not find Java inst in PATH or JAVA_HOME 2018-07-22 18:15:39 +08:00