nex_shift/src-tauri
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
..
binaries perf: stop sampling when nothing is looking 2026-11-19 17:50:57 +08:00
capabilities release: 0.1.1 — update channel, settings/UI trims, macOS + Windows x64 only 2026-10-26 03:06:46 +08:00
icons fix(icons): orange ground and white mark, as the product has always been 2026-11-19 21:49:05 +08:00
src fix(update): make the Windows handoff actually run 2026-11-20 18:29:16 +08:00
Cargo.lock release: prepare Shift 0.1.13 2026-11-19 21:29:30 +08:00
Cargo.toml release: prepare Shift 0.1.13 2026-11-19 21:29:30 +08:00
Info.plist fix(share): declare the local network usage description 2026-10-26 18:54:25 +08:00
build.rs release: 0.1.1 — update channel, settings/UI trims, macOS + Windows x64 only 2026-10-26 03:06:46 +08:00
tauri.conf.json release: prepare Shift 0.1.13 2026-11-19 21:29:30 +08:00
tauri.macos.conf.json baseline: capture workspace state (bug fixes in progress) 2026-10-21 08:54:54 +08:00