nex_shift/src-tauri
mula.liu 15498482fa release: 0.1.2 — install the update in place, and lead the tab with the host
Updates now finish without leaving the app. After the SHA256 gate, macOS replaces
its own `.app` from the downloaded disk image and Windows runs the same NSIS
installer with `/S`; both from a detached helper that waits for this process to
exit and then opens the new copy.

- `update.rs`: `bundle_path` (is this a bundled run?), `can_replace` (is the
  enclosing folder writable — checked before quitting, not after), and the two
  handoff scripts. Every macOS failure path still `open`s the bundle it had, so a
  failed swap leaves Shift running rather than closed.
- `windows-installer.nsi`: `${Silent}` skips the "Shift is running, close it?"
  box, which would otherwise abort an update nobody is there to answer.
- `useUpdate.ts`: a failed install reports its own error and keeps the verified
  download, instead of downgrading a "ready" status to "error".

The Updates tab now leads with two lines above everything else: system,
architecture and running version, then the feed URL. The header no longer repeats
the version in the status row.

Verified end to end on macOS: a 0.1.1 bundle swapped by the published 0.1.2 image,
`codesign --verify --deep --strict` clean afterwards, image detached, and the
busy-image path shown to reopen the old copy.

Gates: cargo fmt --check clean, `cargo test --lib` 146 passed / 2 ignored,
`pnpm check` clean, `pnpm test` 34 passed, `pnpm build` ok.
2026-10-26 03:41:47 +08:00
..
binaries 修复bug 2026-10-25 12:24:05 +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 baseline: capture workspace state (bug fixes in progress) 2026-10-21 08:54:54 +08:00
src release: 0.1.2 — install the update in place, and lead the tab with the host 2026-10-26 03:41:47 +08:00
Cargo.lock release: 0.1.2 — install the update in place, and lead the tab with the host 2026-10-26 03:41:47 +08:00
Cargo.toml release: 0.1.2 — install the update in place, and lead the tab with the host 2026-10-26 03:41:47 +08:00
Info.plist baseline: capture workspace state (bug fixes in progress) 2026-10-21 08:54:54 +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: 0.1.2 — install the update in place, and lead the tab with the host 2026-10-26 03:41:47 +08:00
tauri.macos.conf.json baseline: capture workspace state (bug fixes in progress) 2026-10-21 08:54:54 +08:00