release: prepare 0.4.0 installer and finalize content protection checks

This commit is contained in:
2026-10-29 21:53:44 +08:00
parent a40a6cd749
commit a09fa8b885
9 changed files with 82 additions and 21 deletions
+4 -4
View File
@@ -1,6 +1,6 @@
# Windows 安装版构建
双击本目录的 `_installer.cmd`,或在任意工作目录调用它的完整路径。
双击项目根目录的 `pack_installer.cmd`,或在任意工作目录调用它的完整路径。本目录的 `_installer.cmd` 作为原有入口仍可使用。
成功、失败都会显示结果并保留窗口;失败返回非零退出码,并停止后续打包。
## 产物
@@ -32,8 +32,8 @@
## 自动化和自定义
```bat
pack\_installer.cmd -NoPause
pack\_installer.cmd -NoPause -SkipTests
pack_installer.cmd -NoPause
pack_installer.cmd -NoPause -SkipTests
```
`-SkipTests` 只用于明确需要跳过已验证测试的重复构建。默认仍会执行测试。
@@ -44,7 +44,7 @@ pack\_installer.cmd -NoPause -SkipTests
```bat
set "MDHELPER_PYTHON=C:\Path\To\python.exe"
set "MDHELPER_ISCC=C:\Path\To\ISCC.exe"
pack\_installer.cmd
pack_installer.cmd
```
如果指定的是系统 Python,脚本先在 `pack/.venv` 创建独立构建环境。