feat: 优化打包和版本更新功能

This commit is contained in:
alger
2025-01-01 13:12:46 +08:00
parent cc239aeaba
commit 14747cac10
7 changed files with 173 additions and 111 deletions

13
build/installer.nsh Normal file
View File

@@ -0,0 +1,13 @@
# 设置 Windows 7 兼容性
ManifestDPIAware true
ManifestSupportedOS all
!macro customInit
# 检查系统版本
${If} ${AtLeastWin7}
# Windows 7 或更高版本
${Else}
MessageBox MB_OK|MB_ICONSTOP "此应用程序需要 Windows 7 或更高版本。"
Abort
${EndIf}
!macroend