mirror of
https://gitee.com/huanghongxun/HMCL-docs.git
synced 2026-09-15 08:31:11 +08:00
This commit is contained in:
@@ -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` |
|
||||
|
||||
## 环境变量
|
||||
|
||||
|
||||
Reference in New Issue
Block a user