29 Commits

Author SHA1 Message Date
Glavo
7576bf6a01
在 LocaleUtils 中添加更多工具方法 (#4390) 2025-09-04 15:51:17 +08:00
Glavo
d60a923841
使用 Java 11 构建 HMCL (#4078)
Co-authored-by: 3gf8jv4dv <3gf8jv4dv@gmail.com>
2025-07-25 16:05:09 +08:00
Glavo
6e05b5ee58
使用 JNA 查询注册表 (#3913) 2025-05-14 22:18:02 +08:00
Glavo
1da98d6d67
启动时在日志中记录当前平台的所有 GPU (#3893) 2025-05-09 10:08:08 +08:00
Glavo
1ab7ab0750
使用 JNA 调用本机 API (#3890) 2025-05-04 22:31:50 +08:00
Glavo
dc5ebcf64d
使用 libs.versions.toml 管理依赖版本 (#3873) 2025-04-29 13:41:45 +08:00
Glavo
75d0ec34f5
将构建项目所需的最低 JDK 版本升级至 11 (#3805) 2025-04-29 09:52:06 +08:00
Glavo
05c5b53c52
自动探测日志文件编码 (#3863) 2025-04-27 20:39:49 +08:00
Glavo
5ca1120223
Bump jsoup to 1.19.1 (#3835) 2025-04-18 22:42:10 +08:00
Glavo
6aa4019221
Bump Gson to 2.13.0 (#3834) 2025-04-18 22:35:05 +08:00
Glavo
62e965c6fe
使用 Kala Compress 替代 commons-compress (#3481) 2025-04-08 17:36:36 +08:00
Glavo
4292d47fe8
Bump Gson to 2.12.1 (#3691) 2025-03-02 23:58:07 +08:00
Glavo
d40742a624
Bump jsoup to 1.18.3 (#3632) 2025-02-19 16:28:46 +08:00
Glavo
4c6fdf49de
Bump JetBrains Annotations to 26.0.1 (#3493) 2024-12-13 00:29:34 +08:00
Glavo
422f681fe6
Bump XZ to 1.10 (#3391) 2024-10-26 20:54:48 +08:00
Glavo
1033389c38
Revert "Bump commons-compress to 1.27.1 (#3344)" (#3351)
This reverts commit fab32a6d51389a0d004f2d94f682b6b2d9efe071.
2024-10-16 22:15:13 +08:00
Glavo
936285847c
Bump Gson to 2.11.0 (#3345) 2024-10-15 19:10:02 +08:00
Glavo
fab32a6d51
Bump commons-compress to 1.27.1 (#3344) 2024-10-15 19:05:22 +08:00
Glavo
71c9632d61
GitHub Action 使用 Java 8 构建 HMCL (#3340)
* update

* update
2024-10-15 03:13:35 +08:00
Glavo
1c864ba072
使用 Jsoup 解析并渲染 HTML 页面 (#3321) 2024-10-13 19:19:52 +08:00
Glavo
59a9b3a926
清理 ManagedProcess::getPid() (#2660)
* Delete getPID0

* Delete blank line
2024-01-20 10:57:46 +08:00
Glavo
96270b1706
Bump dependencies (#2659)
* Bump dependencies

* Fix build
2024-01-19 23:23:44 +08:00
Burning_TNT
5d3660ffb8
Enable HMCL to export jstack dump file 让 HMCL 能够导出游戏运行栈文件 (#2582)
* Enable HMCL to create game thread dump while game is running

* Fix checkstyle

* Hide accessToken

* Code cleanup

* Code cleanup

* Enhance I18N and declare the charset (UTF-8) of output file

* Inline variables

* Update the modifier of org.jackhuang.hmcl.game.GameDumpCreator#writeDumpHeadTo from public to private

* Refactor

* Add license for GameDumpCreator, remove support for Java 8

* Remove unnecessary Arrays.copyOf

* Fix checkstyle

* Use system charset to read the inputstream from JVM

* opt GameDumpCreator

* retry on failed attach to vm

* update GameDumpCreator

* Opt GameDumpCreator

* Fix

* Include BCIG

* Use BCIG to get PID.

* Fix.

* Fix again.

* Code cleanup. Fix bugs.

---------

Co-authored-by: Glavo <zjx001202@gmail.com>
2024-01-08 20:35:46 +08:00
Glavo
c6afd53e73
Bump dependencies (#2191) 2023-04-06 02:41:57 +08:00
Glavo
d8c96769ea
Bump dependencies (#2149) 2023-02-24 04:31:45 +08:00
Glavo
7e522ff136
弃用 commons-lang (#2061)
* Remove ArrayUtils

* Remove MutableObject

* VersionRange

* Replace Range with VersionRange

* fix checkstyle

* Update

* update

* update

* fix checkstyle

* fix checkstyle

* update
2023-02-08 19:57:52 +08:00
Glavo
d4398764a1
Update Texture (#2037)
* Update Texture

* fix checkstyle
2023-02-02 21:25:05 +08:00
Glavo
c76b562705
Remove log4j-patch (#1860)
* Remove log4j-patch

* Update I18N
2022-11-23 17:20:15 +08:00
Glavo
5df95ad0fa Use Gradle Kotlin DSL 2022-01-01 20:59:36 +08:00