mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-01-24 09:23:07 +08:00
feat: Windows 安装界面自适应DPI
This commit is contained in:
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
@@ -182,7 +182,6 @@ jobs:
|
||||
|
||||
# 生成 release notes
|
||||
{
|
||||
echo "## 更新内容"
|
||||
echo ""
|
||||
|
||||
# 提取 feat commits
|
||||
|
||||
5
build/installer-dpi.nsh
Normal file
5
build/installer-dpi.nsh
Normal file
@@ -0,0 +1,5 @@
|
||||
!macro customHeader
|
||||
; 启用 DPI 感知,使安装界面在不同 DPI 下清晰显示
|
||||
ManifestDPIAware true
|
||||
!macroend
|
||||
|
||||
@@ -39,6 +39,7 @@ nsis:
|
||||
allowToChangeInstallationDirectory: true
|
||||
installerIcon: build/icon.ico
|
||||
uninstallerIcon: build/icon.ico
|
||||
include: installer-dpi.nsh
|
||||
|
||||
# macOS 平台配置
|
||||
mac:
|
||||
|
||||
Reference in New Issue
Block a user