叫我小杨同学
2794ac6055
fix(desktop): PowerShell 立即 kill Electron 消除 #64 crash dialog 根因
- ASAR_SWAP_PS1 不再等 WaitPid 优雅退出,改为立即 Stop-HarnessInstall;
Electron main 和 host 一起被 kill,UI 来不及收 host 退出事件,
main.js:3725 的"host stopped"对话框根本没机会显示。
PowerShell 是 detached+stdio:ignore 独立进程,杀 Electron 不影响自己。
- scheduleAsarSwapRestart 接 ctx fallback,启动期自愈路径也能解析
desktopRuntime 走 requestRestart 做双保险。
- gracefulExit timeout 从 4500/3000 缩到 2000/1500ms:PS 杀得快,
不需要那么长的 handoff 窗口兜底。
- core.restartSealedDesktopIfNeeded 透传 input.ctx 给桌面层两条路径。
- index.js:scheduleApplyRestart / handlePurgeCommand 全链路加 ctx 参数,
commands.register handler 把 effect 作用域 ctx 交到最深处的
restartSealedDesktopIfNeeded 和 scheduleRestart。
- identity.js:isHardcodedExecRule 长度闸 800→1500,用户 rules 文件偶尔
引用写死 preamble + 本体 >800 字节时不再被误剥。
2026-10-09 14:41:44 +08:00
..
2026-10-09 14:06:07 +08:00
2026-10-08 16:52:44 +08:00
2026-10-02 17:25:49 +08:00
2026-09-29 18:15:28 +08:00
2026-10-09 14:06:07 +08:00
2026-10-09 14:41:44 +08:00
2026-10-09 14:41:44 +08:00
2026-10-04 13:06:19 +08:00
2026-10-09 12:28:07 +08:00
2026-09-29 18:15:28 +08:00
2026-10-09 11:52:39 +08:00
2026-10-05 01:36:46 +08:00
2026-10-03 13:54:38 +08:00
2026-10-09 14:41:44 +08:00
2026-10-09 14:41:44 +08:00
2026-10-09 14:06:07 +08:00
2026-10-08 11:04:18 +08:00
2026-10-08 00:30:37 +08:00
2026-09-25 02:47:29 +08:00
2026-10-09 11:52:39 +08:00
2026-10-09 14:06:07 +08:00
2026-10-06 23:32:54 +08:00
2026-10-03 13:54:38 +08:00
2026-10-09 11:52:39 +08:00
2026-10-09 11:52:39 +08:00
2026-10-07 18:13:19 +08:00
2026-10-09 11:52:39 +08:00
2026-10-02 13:55:13 +08:00
2026-09-19 00:51:25 +08:00
2026-09-19 00:51:25 +08:00
2026-09-18 15:10:15 +08:00
2026-10-04 13:06:19 +08:00
2026-10-09 11:52:39 +08:00
2026-10-03 13:54:38 +08:00
2026-09-28 18:28:55 +08:00