mirror of
https://gitee.com/huanghongxun/HMCL-docs.git
synced 2025-06-05 23:14:03 +08:00
Update jvm-options-and-env.md (#211)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
98d3bfaa1e
commit
80fe369080
@ -29,6 +29,7 @@ HMCL 提供了一些 JVM 选项用于调试目的。你可以通过在启动 HMC
|
||||
| `-Dhmcl.curseforge.apikey=<key>` | 自定义 CurseForge API 密钥 |
|
||||
| `-Dhmcl.discoapi.override=<url>` | 自定义 DiscoAPI 的 API Root 地址(默认为 `https://api.foojay.io/disco/v3.0`)|
|
||||
| `-Dhmcl.native.backend=<auto/jna/none>` | 指定 HMCL 的本地后端类型。可选值:<br>- `auto`:自动选择(Windows 7+ 使用 JNA,其他系统不使用)<br>- `jna`:强制使用 JNA(如果 JNA 不可用会抛出异常)<br>- `none`:禁用 JNA<br>默认值:`auto` |
|
||||
| `-Dhmcl.hardware.fastfetch=<true/false>` | 是否使用 fastfetch 获取设备信息。默认值:`true` |
|
||||
|
||||
## 环境变量
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user