Commit Graph

2 Commits (main)

Author SHA1 Message Date
mula.liu 0ab3768c5a fix(update): make the Windows handoff actually run
Reported: the 0.1.13 Windows build fails after download and restart. Two
independent defects sat on that path:

- The helper was launched as `cmd.exe /D /C "<path with spaces>" ...`.
  cmd strips the first and last quote when the command has more than one
  quoted token, so the script under `%TEMP%\Shift Updates` was never
  recognized. Shift quit and nothing installed. The script path now arrives
  in an environment variable, with the extra outer quote layer cmd needs.
- A silent install could still open the WebView2 warning. Nobody is present
  to dismiss it during an in-app update, so the installer waited forever.
  The manual warning stays; silent installs skip it.

The installer also waits briefly after taskkill before overwriting the EXE,
and the handoff logs its start and a missing target so a future failure is
visible in `%TEMP%\Shift Updates\handoff.log`.

Verified with Wine: the old command reproduces the quote-stripping failure,
the new one runs; the rebuilt installer completes silently without WebView2
and the full wait-install-relaunch handoff replaces the executable.
2026-11-20 18:29:16 +08:00
mula.liu 935de413d8 docs: 收录 2026-11 全面评审的修复与约束
评审轮改动此前只在本地:更新链路的下载与校验收紧、分享接收的失败上报与
「完成后在访达中显示」、截图/录屏/文件读取的边界处理,以及新增的
ARCHITECTURE / SPECIFICATION / SECURITY / CONTRIBUTING 四份文档和
publish-release、CI 的调整。 ENGINEERING-NOTES 补上「更新、分享与读取边界」
一节,把这些不应被简化掉的约束写进台账。

这些改动已随 0.1.11 构建物发布,此提交只是让源码与产物在服务器上保持一致。
2026-11-07 12:42:35 +08:00