nex_shift/src-tauri
mula.liu 42d6424e9f build: sign macOS ad-hoc so other machines can open the app
The published DMG was refused on a fresh Mac as damaged/malware, with only
"Move to Trash" — no 仍要打开, no pane entry to approve. That is not the
"unidentified developer" box, and it is worse than shipping unsigned.

Cause: `signingIdentity: "Shift Local Signing"`, a locally created self-signed
certificate. On the build host it looks healthy — `codesign` reports valid on disk
and satisfies its Designated Requirement, `spctl` even accepts it — but the
certificate lives only in this keychain, is self-issued and CA:FALSE, so it cannot
chain to a trusted root on any other machine. Sequoia turns an unchainable
signature on a quarantined download into a hard refusal.

Releases that opened fine predates that config entry and were ad-hoc signed, which
gets the softer prompt the user can clear (right-click → 打开, or 允许 in 隐私与安全性).
Set signingIdentity to "-" explicitly so this cannot drift back, and rebuild all
three macOS/Windows artifacts from it: app is `Signature=adhoc`, the DMG carries no
signature of its own, and the pkg payload is ad-hoc too.

Docs corrected: the earlier explanation in "macOS packaging" blamed the DMG
container, which was wrong — the container still matters for first install (an
installed app is not left quarantined, so a .pkg opens with no prompt), but the
malware verdict came from the certificate.
2026-10-26 09:44:53 +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 build: sign macOS ad-hoc so other machines can open the app 2026-10-26 09:44:53 +08:00
Cargo.lock release: 0.1.3 — the Recent list survives an upgrade 2026-10-26 04:02:31 +08:00
Cargo.toml release: 0.1.3 — the Recent list survives an upgrade 2026-10-26 04:02:31 +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 build: sign macOS ad-hoc so other machines can open the app 2026-10-26 09:44:53 +08:00
tauri.macos.conf.json baseline: capture workspace state (bug fixes in progress) 2026-10-21 08:54:54 +08:00