docs: AGENTS.md 加上 selftest:package 命令

This commit is contained in:
2026-10-20 17:06:32 +08:00
parent c3eb079fdb
commit 090bc3593f
+1
View File
@@ -12,6 +12,7 @@ LAN instant-messaging desktop app. Stack: **Electron 32 + Vue 3 + TypeScript + V
| Typecheck renderer | `npm run typecheck:web` | | Typecheck renderer | `npm run typecheck:web` |
| Typecheck both | `npm run typecheck` | | Typecheck both | `npm run typecheck` |
| Remote feature self-test (terminal / forward / USB) | `npm run selftest` | | Remote feature self-test (terminal / forward / USB) | `npm run selftest` |
| Packaged-artifact smoke check (asar unpack + real pty spawn) | `npm run selftest:package` (run after `npm run package:*`) |
| Windows installer | `npm run package:win` → `dist-Electron\LocalNetMsg-0.1.0-Setup.exe` | | Windows installer | `npm run package:win` → `dist-Electron\LocalNetMsg-0.1.0-Setup.exe` |
| macOS / Linux | `npm run package:mac` / `npm run package:linux` | | macOS / Linux | `npm run package:mac` / `npm run package:linux` |
| Unpacked dir only | `npm run package:dir` | | Unpacked dir only | `npm run package:dir` |