2026-10-21 00:54:54 +00:00
|
|
|
{
|
|
|
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
|
|
|
"productName": "Shift",
|
2026-11-19 13:29:30 +00:00
|
|
|
"version": "0.1.13",
|
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
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|