2026-10-21 00:54:54 +00:00
|
|
|
{
|
|
|
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
|
|
|
"productName": "Shift",
|
release: 0.1.4 — figures survive every conversion
Three conversion fixes since 0.1.3, all found with the same two documents:
- DOCX -> PDF kept the text and dropped the pictures, because AppKit's OOXML
reader returns an attributed string with no attachments at all. An image-bearing
DOCX now goes through Pandoc into HTML before the same printer, which keeps
headings, tables and figures. Image-only DOCX files still take the page-scan
path, and a machine without Pandoc falls back to the old text-only result
rather than failing.
- Markdown -> DOCX/RTF/HTML lost the same figures for a different reason: a
Markdown image is a path, Pandoc has to open the file to embed it, and it
resolves that path against its own working directory, which for a running Shift
is nowhere near the document. It now gets --resource-path of the source folder.
- A picture that did arrive printed as a cropped fragment. The layout sizes an
attachment from the density header in the file - 72 dpi when it carries none -
and ignores CSS, so a 1600 px screenshot asks for 1200 points on a 595 point
page. The renderer fits oversized attachments to the text column, scaled and
not resampled. Markdown and HTML documents with wide images are covered too.
The Updates panel's install and discard buttons are one matched pair now, sized to
the panel's own 12px scale instead of the dense 8.5px rows of the Runtime tab they
were borrowed from, and the row drops the discard control while an install is
counting down.
Gates: cargo test --lib 152 passed / 2 ignored, pnpm check clean, pnpm test 38
passed. Artifacts verified from the built bundles, not the build log: the DMG
carries 0.1.4, x86_64 + arm64, Signature=adhoc, and its bundled doc-render places
a wide image at 499pt inside the page; the Windows exe carries the feed URL and
the release public key.
2026-10-26 09:24:22 +00:00
|
|
|
"version": "0.1.4",
|
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,
|
|
|
|
|
"targets": "all",
|
|
|
|
|
"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
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|