nex_shift/scripts
mula.liu e9760b8514 release: publish a macOS .pkg so a fresh machine can open Shift
Builds are signed with the self-signed "Shift Local Signing" identity and are not
notarized, so Gatekeeper calls Shift an unidentified developer. Dragging the app out
of the DMG hands that verdict to the app: a fresh machine refuses the first launch
until the user approves it in 系统设置 → 隐私与安全性.

`scripts/macos-pkg.sh` wraps the built bundle with pkgbuild and the channel now
publishes `Shift-macOS-universal.pkg` alongside the DMG. Verified rather than
assumed: installing a quarantined copy of the package leaves the installed app with
only `com.apple.provenance` — no `com.apple.quarantine` — and `codesign --verify
--deep --strict` still passes, because pkgbuild neither re-signs nor strips the
payload (CDHash identical across built bundle, DMG copy and pkg copy: 3b7fac6c…).

The package is unsigned because `productsign` needs an Installer Signing certificate
and this build has only a code-signing identity, so the approval does not vanish — it
moves to the download, once, before anything is installed. `installer -pkg … -target
/` needs no approval at all.

The `macos` manifest key stays a DMG on purpose: `update_install`'s handoff mounts the
image with hdiutil, so pointing the key at a .pkg would break in-app updates.
2026-10-26 09:22:39 +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-macos-drag-bridge.sh 修复bug 2026-10-25 12:24:05 +08:00
build-windows-release.sh release: 0.1.1 — update channel, settings/UI trims, macOS + Windows x64 only 2026-10-26 03:06:46 +08:00
macos-pkg.sh release: publish a macOS .pkg so a fresh machine can open Shift 2026-10-26 09:22:39 +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 release: 0.1.1 — update channel, settings/UI trims, macOS + Windows x64 only 2026-10-26 03:06:46 +08:00
release-key.py release: 0.1.1 — update channel, settings/UI trims, macOS + Windows x64 only 2026-10-26 03:06:46 +08:00
windows-installer.nsi release: 0.1.2 — install the update in place, and lead the tab with the host 2026-10-26 03:41:47 +08:00