由代码审查整理。
问题
Windows 实现比 macOS 弱一档,且有实际风险:
- 无签名校验:全仓 grep 不到任何 Authenticode 检查,直接启动 Appx 里的 exe(
windows/scripts/start-dream-skin.ps1)。
- 进程按名硬杀:
Get-Process ChatGPT | Stop-Process -Force(start-dream-skin.ps1:38)、恢复旧 injector 时 Stop-Process -Id $old.injectorPid -Force(:65)均无启动时间 / 路径核对,PID 复用会误杀无辜进程——macOS 端精心做的防护 Windows 全无。
- 需要全局 Node(
Get-Command node),与 macOS「无需装 Node」的卖点相反,文档未提醒。
- 零测试覆盖:测试体系(
macos/tests/run-tests.sh)只覆盖 macOS。
期望
逐条补齐:
问题
Windows 实现比 macOS 弱一档,且有实际风险:
windows/scripts/start-dream-skin.ps1)。Get-Process ChatGPT | Stop-Process -Force(start-dream-skin.ps1:38)、恢复旧 injector 时Stop-Process -Id $old.injectorPid -Force(:65)均无启动时间 / 路径核对,PID 复用会误杀无辜进程——macOS 端精心做的防护 Windows 全无。Get-Command node),与 macOS「无需装 Node」的卖点相反,文档未提醒。macos/tests/run-tests.sh)只覆盖 macOS。期望
逐条补齐: