docs: T40 UI 审计报告 + wiki 更新 + Docker 配置

- T40 UI 审计计划和结果文档(docs/qa/)
- wiki 更新:miniprogram 设计系统合规审计记录 + index 关键数字更新
- 审计 V2 完整报告(docs/audits/v2/)
- 讨论记录文档(docs/discussions/)
- 设计规格和实施计划(docs/superpowers/)
- 角色测试计划和结果(docs/qa/role-test-*)
- Docker 生产部署配置
This commit is contained in:
iven
2026-05-13 23:29:42 +08:00
parent 212c08b7ae
commit df1d85bfde
78 changed files with 10345 additions and 39 deletions

View File

@@ -17,18 +17,18 @@ status() { echo -e "${CYAN}[MPSync]${NC} $1"; }
ok() { echo -e "${GREEN}[MPSync]${NC} $1"; }
warn() { echo -e "${YELLOW}[MPSync]${NC} $1"; }
# Step 1: Kill stale DevTools processes
# Step 1: Kill stale DevTools processes (PowerShell 可靠杀进程)
status "Step 1: Killing stale DevTools processes..."
count=$(tasklist 2>/dev/null | grep -c "wechatdevtools.exe" | tr -d '\r\n' || echo "0")
if [ "$count" -gt 0 ]; then
warn "Found $count stale processes, killing..."
cmd.exe /C "taskkill /F /IM wechatdevtools.exe /T" > /dev/null 2>&1
powershell -Command "Get-Process wechatdevtools -ErrorAction SilentlyContinue | Stop-Process -Force" 2>/dev/null
sleep 5
count2=$(tasklist 2>/dev/null | grep -c "wechatdevtools.exe" | tr -d '\r\n' || echo "0")
if [ "$count2" -gt 0 ]; then
warn "Still $count2 remaining, second attempt..."
cmd.exe /C "taskkill /F /IM wechatdevtools.exe /T" > /dev/null 2>&1
powershell -Command "Get-Process wechatdevtools -ErrorAction SilentlyContinue | Stop-Process -Force" 2>/dev/null
sleep 3
fi
ok "Cleanup done"
@@ -49,9 +49,8 @@ fi
running=$(tasklist 2>/dev/null | grep -c "wechatdevtools.exe" | tr -d '\r\n' || echo "0")
if [ "$running" -eq 0 ]; then
status "Starting DevTools..."
# 找到可执行文件
EXE=$(find "/d/微信web开发者工具" -maxdepth 1 -name "*.exe" 2>/dev/null | head -1)
if [ -n "$EXE" ]; then
EXE="/d/微信web开发者工具/微信开发者工具.exe"
if [ -f "$EXE" ]; then
"$EXE" "$DIST" &
status "Waiting for DevTools to initialize (15s)..."
sleep 15