docs: add HMCL_UI_SCALE to contribution guide [skip ci] (#5496)

This commit is contained in:
3gf8jv4dv
2026-02-09 20:36:42 +08:00
committed by GitHub
parent 10df7a862b
commit a0bd64ad1f
3 changed files with 3 additions and 0 deletions

View File

@@ -88,6 +88,7 @@ These options can be specified via environment variables or JVM parameters. If b
| `HMCL_FORCE_GPU` | | Specifies whether to force GPU-accelerated rendering | `false` | |
| `HMCL_ANIMATION_FRAME_RATE` | | Specifies the animation frame rate of HMCL | `60` | |
| `HMCL_LANGUAGE` | | Specifies the default language of HMCL | Uses the system default language | |
| `HMCL_UI_SCALE` | | Specifies the UI scaling for HMCL | Uses the system's current scaling | Supports scale factor (1.5), percentage (150%), or DPI (144dpi). |
| | `-Dhmcl.dir=<path>` | Specifies the current data folder of HMCL | `./.hmcl` | |
| | `-Dhmcl.home=<path>` | Specifies the user data folder of HMCL | Windows: `%APPDATA%\.hmcl`<br>Linux/BSD: `$XDG_DATA_HOME/hmcl`<br>macOS: `~Library/Application Support/hmcl` | |
| | `-Dhmcl.self_integrity_check.disable=true` | Disables self-integrity checks during updates | | |

View File

@@ -87,6 +87,7 @@ HMCL 提供了一系列调试选项,用于控制启动器的行为。
| `HMCL_FORCE_GPU` | | 指定是否强制使用 GPU 加速渲染 | `false` |
| `HMCL_ANIMATION_FRAME_RATE` | | 指定 HMCL 的动画帧率 | `60` | |
| `HMCL_LANGUAGE` | | 指定 HMCL 的默认语言 | 使用系统默认语言 |
| `HMCL_UI_SCALE` | | 指定 HMCL 的 UI 缩放比例 | 遵循系统当前的缩放比例 | 支持倍数 (1.5)、百分比 (150%) 或 DPI (144dpi) |
| | `-Dhmcl.dir=<path>` | 指定 HMCL 的当前数据文件夹 | `./.hmcl` | |
| | `-Dhmcl.home=<path>` | 指定 HMCL 的用户数据文件夹 | Windows: `%APPDATA%\.hmcl`<br>Linux/BSD: `$XDG_DATA_HOME/hmcl`<br>macOS: `~Library/Application Support/hmcl` | |
| | `-Dhmcl.self_integrity_check.disable=true` | 检查更新时不检查本体完整性 | | |

View File

@@ -87,6 +87,7 @@ HMCL 提供了一系列除錯選項,用於控制啟動器的行為。
| `HMCL_FORCE_GPU` | | 設定是否強制使用 GPU 加速繪製 | `false` |
| `HMCL_ANIMATION_FRAME_RATE` | | 設定 HMCL 的動畫幀率 | `60` | |
| `HMCL_LANGUAGE` | | 設定 HMCL 的預設語言 | 使用系統預設語言 |
| `HMCL_UI_SCALE` | | 設定 HMCL 的 UI 縮放比例 | 遵循系統目前的縮放比例 | 支援倍數 (1.5)、百分比 (150%) 或 DPI (144dpi) |
| | `-Dhmcl.dir=<path>` | 設定 HMCL 的目前資料存放位置 | `./.hmcl` | |
| | `-Dhmcl.home=<path>` | 設定 HMCL 的使用者資料存放位置 | Windows: `%APPDATA%\.hmcl`<br>Linux/BSD: `$XDG_DATA_HOME/hmcl`<br>macOS: `~Library/Application Support/hmcl` | |
| | `-Dhmcl.self_integrity_check.disable=true` | 檢查更新時不檢查程式完整性 | | |