ci: add fresh install package smoke test
Windows Package CI / package-fresh-install (push) Waiting to run

This commit is contained in:
Your Name committed 2026-06-28 09:03:13 +08:00
1 parent f5a77867ee
commit 7745f9a57f
4 files changed
+436

No files matched your search

+16
View File
@@ -94,6 +94,22 @@ iscc packaging\inno\douyin_guaji.iss /DMyAppVersion=3.3.3
dist\installer\DouyinGuaji-3.3.3-Setup.exe
```
## 从零安装验收
打完便携包和安装包后,运行:
```powershell
powershell -NoProfile -ExecutionPolicy Bypass -File tools\ci\fresh_install_smoke.ps1
```
脚本会静默安装到 `artifacts\fresh_install_ci\DouyinGuajiApp`,并检查默认配置、随包 ADB、ADBKeyboard、WebGUI 首次卡密门禁、未授权运行接口拦截、Dashboard 首次启动不闪退。
验收报告:
```text
artifacts\fresh_install_ci\fresh_install_report.json
```
## 发给别人前检查
- 打包脚本会自动运行 `python -m tools.distribution_manifest dist\DouyinGuaji-<version>`,防止源码、调试产物、个人配置和旧日志混入分发目录。