From a0bd64ad1fcef64fbc2c30118bbbf86b99c94f40 Mon Sep 17 00:00:00 2001 From: 3gf8jv4dv <3gf8jv4dv@gmail.com> Date: Mon, 9 Feb 2026 20:36:42 +0800 Subject: [PATCH] docs: add `HMCL_UI_SCALE` to contribution guide [skip ci] (#5496) --- docs/Contributing.md | 1 + docs/Contributing_zh.md | 1 + docs/Contributing_zh_Hant.md | 1 + 3 files changed, 3 insertions(+) diff --git a/docs/Contributing.md b/docs/Contributing.md index a0a670f5e..7cc715837 100644 --- a/docs/Contributing.md +++ b/docs/Contributing.md @@ -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=` | Specifies the current data folder of HMCL | `./.hmcl` | | | | `-Dhmcl.home=` | Specifies the user data folder of HMCL | Windows: `%APPDATA%\.hmcl`
Linux/BSD: `$XDG_DATA_HOME/hmcl`
macOS: `~Library/Application Support/hmcl` | | | | `-Dhmcl.self_integrity_check.disable=true` | Disables self-integrity checks during updates | | | diff --git a/docs/Contributing_zh.md b/docs/Contributing_zh.md index 43d75822e..9583ecff8 100644 --- a/docs/Contributing_zh.md +++ b/docs/Contributing_zh.md @@ -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=` | 指定 HMCL 的当前数据文件夹 | `./.hmcl` | | | | `-Dhmcl.home=` | 指定 HMCL 的用户数据文件夹 | Windows: `%APPDATA%\.hmcl`
Linux/BSD: `$XDG_DATA_HOME/hmcl`
macOS: `~Library/Application Support/hmcl` | | | | `-Dhmcl.self_integrity_check.disable=true` | 检查更新时不检查本体完整性 | | | diff --git a/docs/Contributing_zh_Hant.md b/docs/Contributing_zh_Hant.md index 200a81461..be4fe82d8 100644 --- a/docs/Contributing_zh_Hant.md +++ b/docs/Contributing_zh_Hant.md @@ -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=` | 設定 HMCL 的目前資料存放位置 | `./.hmcl` | | | | `-Dhmcl.home=` | 設定 HMCL 的使用者資料存放位置 | Windows: `%APPDATA%\.hmcl`
Linux/BSD: `$XDG_DATA_HOME/hmcl`
macOS: `~Library/Application Support/hmcl` | | | | `-Dhmcl.self_integrity_check.disable=true` | 檢查更新時不檢查程式完整性 | | |