nex_shift/src-tauri
mula.liu 23973cee8f fix(runtime): report the bundled renderer for document PDF on macOS
0.1.8 turned the renderer branch of document_pdf_component into a bare expression,
so the component it built was discarded and every Mac fell through to the Pandoc
row. That row requires a LaTeX or Typst engine macOS never runs, so Settings ->
Runtime components read 'Pandoc PDF pipeline: missing' with no Install button,
because document-pdf has no macOS install target.

The two platforms now have their own function, like every other platform-specific
row in the file, so the fall-through is a compile error rather than a silent one.
The Pandoc half is still real on macOS - it turns a picture-bearing DOCX into HTML
for the renderer - and it keeps its own row and install target.

Two guards cover it: the row must stay bundled on macOS, and no row may read as
missing without either an install entry or a non-external source. The second
reproduces the reported symptom exactly when the fix is reverted. The matching
PDF-engine error now names what the panel actually shows on each platform.
2026-11-01 11:59:42 +08:00
..
binaries release: prepare Shift 0.1.8 2026-10-27 18:45:32 +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 fix(runtime): report the bundled renderer for document PDF on macOS 2026-11-01 11:59:42 +08:00
Cargo.lock release: prepare Shift 0.1.8 2026-10-27 18:45:32 +08:00
Cargo.toml release: prepare Shift 0.1.8 2026-10-27 18:45:32 +08:00
Info.plist fix(share): declare the local network usage description 2026-10-26 18:54:25 +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 release: prepare Shift 0.1.8 2026-10-27 18:45:32 +08:00
tauri.macos.conf.json baseline: capture workspace state (bug fixes in progress) 2026-10-21 08:54:54 +08:00