Commit Graph

1914 Commits

Author SHA1 Message Date
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
xtex
0d69e944f6 fix: #930(Search new Java registry location first) 2021-07-25 17:29:44 +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
huanghongxun
e34dd39b9a fix: malformed locale name. Closes #925. 2021-07-24 14:56:18 +08:00
Haowei Wen
e7d5faeeac
fix: DirectoryStream not closed
dc31674721 (r53347194)
2021-07-12 13:19:16 +08:00
huanghongxun
46a7269087 chore: ignore hmcl.json 2021-07-10 23:25:26 +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
Haowei Wen
a84971abfc
update english translation 2021-06-24 21:05:30 +08:00
Haowei Wen
a7a79db842
update copyright year in settings page 2021-06-24 21:00:38 +08:00
Haowei Wen
d5da14fb1e
remove welcome page (reduce ~300k size) 2021-06-24 20:43:29 +08:00
Haowei Wen
0d2e287f67
load welcome.png only when necessary
This saves ~200ms startup time.
2021-06-23 06:08:11 +08:00
Haowei Wen
c329f1cafb
log error when background can't be loaded 2021-06-23 04:57:01 +08:00
Haowei Wen
ab1a2f6fcb
fix: NPE in ModpackInfoPage 2021-06-15 00:34:50 +08:00
Haowei Wen
463dc56702
delete license-header.txt since it's not used 2021-06-14 19:12:38 +08:00
Haowei Wen
88e23cd0d2 feat: speed up openjfx dependencies checking
SHA-1 of dependencies are defined in openjfx-dependencies.json
to avoid network requests during startup.

openjfx-dependencies.json can be generated using
tools/generate-openjfx-dependencies.sh
2021-06-14 14:22:56 +08:00
Haowei Wen
9776aafab6
fix missing license in some files 2021-06-14 02:45:17 +08:00
Haowei Wen
fbb5a03e5d feat: select authlib-injector server after added
* The most recently added server will be at the top.
* In Add Account dialog, after adding an authlib-injector server,
  it will be automatically selected.
2021-06-13 22:58:05 +08:00
huanghongxun
7c11ce53f3 fix: NPE. Closes #896. 2021-06-12 18:43:54 +08:00
huanghongxun
66f4c022d5 fix: ask user whether to download java16. 2021-06-12 18:43:53 +08:00
yaoxi-std
4b36450f9a changed language files, fixed #898 2021-06-12 16:53:24 +08:00
huanghongxun
36b58bd1bb feat: Support CurseForge modpack with Fabric as modloader. Closes #897. 2021-06-12 01:25:10 +08:00
Glavo
0296b6f73d fix: export modpack 2021-06-08 19:06:09 +08:00
huanghongxun
447afaa76f fix: typo 2021-05-30 03:39:29 +08:00
huanghongxun
a0191aa7c2 fix: lint 2021-05-30 03:37:55 +08:00
huanghongxun
e7c9fcf767 feat: checkstyle in GitHub Actions 2021-05-30 03:35:26 +08:00
huanghongxun
fc017515c5 feat: check style & format 2021-05-30 03:34: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
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
寒兮
43f4da5dd3 fix: GITHUB_SHA build version NullPointException 2021-05-29 17:05:12 +08:00
寒兮
c6ab2cec35 fix: short commit version use lower case 2021-05-29 17:05:12 +08:00
寒兮
b0dc689ba7 fix: use GITHUB_SHA instead of the git command 2021-05-29 17:05:12 +08:00
寒兮
e11b1f37b9 chore: artifacts version use git short commit 2021-05-29 17:05:12 +08:00
huanghongxun
3e5fac4df6 feat: lookup JRE installation in more places. 2021-05-29 16:50:07 +08:00
huanghongxun
e63fa40822 feat: run github actions on pull request 2021-05-29 16:49:24 +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