nex_shift/scripts
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
..
linux release: 0.1.1 — update channel, settings/UI trims, macOS + Windows x64 only 2026-10-26 03:06:46 +08:00
build-icons.py fix(icons): orange ground and white mark, as the product has always been 2026-11-19 21:49:05 +08:00
build-macos-drag-bridge.sh release: prepare Shift 0.1.8 2026-10-27 18:45:32 +08:00
build-macos-release.sh build: bake release key into macOS packages 2026-10-27 18:49:21 +08:00
build-windows-release.sh release: prepare Shift 0.1.8 2026-10-27 18:45:32 +08:00
prepare-ocr-assets.sh baseline: capture workspace state (bug fixes in progress) 2026-10-21 08:54:54 +08:00
publish-release.sh docs: 收录 2026-11 全面评审的修复与约束 2026-11-07 12:42:35 +08:00
release-key.py fix(release): derive the public key from either key file 2026-10-26 17:29:59 +08:00
windows-installer.nsi fix(update): make the Windows handoff actually run 2026-11-20 18:29:16 +08:00