2026-10-21 00:54:54 +00:00
|
|
|
{
|
|
|
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
|
|
|
"productName": "Shift",
|
release: prepare Shift 0.1.12
Versions, release docs and the ledger's version row for the two installers.
Both artifacts were built from this tree with the release key baked in, so
either one can verify the signed channel: `Shift-0.1.12-macOS-universal.dmg`
(universal, `Signature=adhoc`, `codesign --verify --deep --strict` and
`hdiutil verify` both clean, no notarization) and
`Shift-Setup-0.1.12-win-x64.exe` (cross-compiled, PE machine `0x8664`
checked, the platform's own frontend confirmed embedded).
Four reported issues, and the fifth request:
- 系统小图标改为黑白单色模板图,由 `scripts/build-tray-icon.py` 重绘。
- Windows 一键安装组件:winget 的良性退出码、未钉源导致的挂死、缺失的提权
路径,以及装完后进程内 PATH 仍是旧值,四个原因都在同一处。
- 钉在屏幕上的图片新增可用的放大/还原按钮。
- 「最近使用」的收藏行带上常驻指示器。
- 参照 nex_squid 降低闲置开销:伴生进程、Windows 手势监视、发现线程与主窗口
时钟四处采样节奏,外加最近列表只解码视线内的缩略图。
The Windows install fix still wants a real Windows host: the exact prose a
dismissed UAC prompt prints, and whether each package accepts
`--scope user`, are both handled defensively rather than verified.
Co-Authored-By: Codex <noreply@openai.com>
2026-11-19 09:52:32 +00:00
|
|
|
"version": "0.1.12",
|
2026-10-21 00:54:54 +00:00
|
|
|
"identifier": "app.nex.shift",
|
|
|
|
|
"build": {
|
|
|
|
|
"beforeDevCommand": "pnpm dev",
|
|
|
|
|
"devUrl": "http://localhost:1420",
|
|
|
|
|
"beforeBuildCommand": "pnpm build",
|
|
|
|
|
"frontendDist": "../dist"
|
|
|
|
|
},
|
|
|
|
|
"app": {
|
|
|
|
|
"macOSPrivateApi": true,
|
|
|
|
|
"windows": [
|
|
|
|
|
{
|
|
|
|
|
"label": "main",
|
|
|
|
|
"title": "Shift",
|
|
|
|
|
"url": "index.html?view=main",
|
|
|
|
|
"width": 1080,
|
|
|
|
|
"height": 720,
|
|
|
|
|
"minWidth": 900,
|
|
|
|
|
"minHeight": 620,
|
|
|
|
|
"center": true,
|
|
|
|
|
"visible": true,
|
|
|
|
|
"titleBarStyle": "Overlay",
|
|
|
|
|
"hiddenTitle": true,
|
|
|
|
|
"acceptFirstMouse": true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "radial",
|
|
|
|
|
"title": "Shift Radial",
|
|
|
|
|
"url": "index.html?view=radial",
|
|
|
|
|
"width": 760,
|
|
|
|
|
"height": 760,
|
|
|
|
|
"resizable": false,
|
|
|
|
|
"decorations": false,
|
|
|
|
|
"transparent": true,
|
|
|
|
|
"alwaysOnTop": true,
|
|
|
|
|
"skipTaskbar": true,
|
2026-10-25 04:24:05 +00:00
|
|
|
"visible": true,
|
2026-10-21 00:54:54 +00:00
|
|
|
"focus": false,
|
|
|
|
|
"shadow": false,
|
|
|
|
|
"acceptFirstMouse": true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "capture",
|
|
|
|
|
"title": "Shift Capture",
|
|
|
|
|
"url": "index.html?view=capture",
|
|
|
|
|
"width": 1200,
|
|
|
|
|
"height": 800,
|
|
|
|
|
"resizable": false,
|
|
|
|
|
"decorations": false,
|
|
|
|
|
"alwaysOnTop": true,
|
|
|
|
|
"skipTaskbar": true,
|
|
|
|
|
"visible": false,
|
|
|
|
|
"focus": true,
|
|
|
|
|
"shadow": false
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "recorder",
|
|
|
|
|
"title": "Shift Recorder",
|
|
|
|
|
"url": "index.html?view=recorder",
|
|
|
|
|
"width": 300,
|
|
|
|
|
"height": 88,
|
|
|
|
|
"resizable": false,
|
|
|
|
|
"decorations": false,
|
|
|
|
|
"transparent": true,
|
|
|
|
|
"alwaysOnTop": true,
|
|
|
|
|
"skipTaskbar": true,
|
|
|
|
|
"visible": false,
|
|
|
|
|
"focus": false,
|
|
|
|
|
"shadow": false,
|
|
|
|
|
"acceptFirstMouse": true
|
|
|
|
|
},
|
2026-10-25 04:24:05 +00:00
|
|
|
{
|
|
|
|
|
"label": "pin",
|
|
|
|
|
"title": "Shift Pin",
|
|
|
|
|
"url": "index.html?view=pin",
|
|
|
|
|
"width": 360,
|
|
|
|
|
"height": 360,
|
|
|
|
|
"minWidth": 120,
|
|
|
|
|
"minHeight": 80,
|
|
|
|
|
"resizable": true,
|
|
|
|
|
"decorations": false,
|
|
|
|
|
"transparent": false,
|
|
|
|
|
"alwaysOnTop": true,
|
|
|
|
|
"skipTaskbar": true,
|
|
|
|
|
"visible": false,
|
|
|
|
|
"focus": false,
|
|
|
|
|
"shadow": false,
|
|
|
|
|
"acceptFirstMouse": true
|
|
|
|
|
},
|
2026-10-21 00:54:54 +00:00
|
|
|
{
|
|
|
|
|
"label": "editor",
|
|
|
|
|
"title": "Shift Editor",
|
|
|
|
|
"url": "index.html?view=editor",
|
|
|
|
|
"width": 1120,
|
|
|
|
|
"height": 780,
|
|
|
|
|
"minWidth": 820,
|
|
|
|
|
"minHeight": 580,
|
|
|
|
|
"resizable": true,
|
|
|
|
|
"decorations": true,
|
|
|
|
|
"visible": false,
|
|
|
|
|
"center": true,
|
|
|
|
|
"titleBarStyle": "Overlay",
|
|
|
|
|
"hiddenTitle": true
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"security": {
|
|
|
|
|
"csp": null,
|
|
|
|
|
"assetProtocol": {
|
|
|
|
|
"enable": true,
|
|
|
|
|
"scope": ["**"]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"bundle": {
|
|
|
|
|
"active": true,
|
2026-10-27 10:45:32 +00:00
|
|
|
"targets": ["app", "dmg", "nsis"],
|
2026-10-21 00:54:54 +00:00
|
|
|
"category": "Utility",
|
|
|
|
|
"shortDescription": "Radial file utility, capture and OCR.",
|
|
|
|
|
"longDescription": "Shift brings Tangerine-style radial file actions, CleanShot-style capture, screen recording and local OCR to macOS and Windows.",
|
|
|
|
|
"icon": [
|
|
|
|
|
"icons/32x32.png",
|
|
|
|
|
"icons/128x128.png",
|
|
|
|
|
"icons/128x128@2x.png",
|
|
|
|
|
"icons/icon.icns",
|
|
|
|
|
"icons/icon.ico"
|
|
|
|
|
],
|
|
|
|
|
"macOS": {
|
|
|
|
|
"minimumSystemVersion": "13.0",
|
2026-10-25 04:24:05 +00:00
|
|
|
"infoPlist": "Info.plist",
|
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 01:44:53 +00:00
|
|
|
"signingIdentity": "-",
|
2026-10-25 04:24:05 +00:00
|
|
|
"hardenedRuntime": false
|
2026-10-21 00:54:54 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|