fix: find soffice.exe on Windows; drop dead exports and spent probes

↗ view on GitHub · Eli Ziff · 2026-07-27 · 8d58d873

resolveSofficeBinaryPaths probed only extensionless soffice plus Unix
install paths, so DOCX->PDF reported LibreOffice missing on every
Windows machine even with soffice.exe installed and on PATH. Probe
.exe names and the Program Files install dirs on win32. Verified with
a real conversion: hello.docx -> 19,351-byte %PDF in 2.2s.

Also: unexport four knip-flagged dead surfaces (the projects.ts
handleDocumentUpload twin of the documents.ts one is now internal;
dedup of the two bodies queued), drop the supabase.ts legacy re-export
of isServerSupabaseConfigured, and delete three spent probe scripts
whose results are recorded in commit messages.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUsMXzBsEJ27DjJVPSfW5o
Repository eliziff/Beaver
Author Eli Ziff <eliasziff@gmail.com>
Authored
Parents 1050ff3f
Stats 8 files changed , +21 , -982
Part of Internal cleanup, dead-code removal, and the canonical route builder

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-8d58d873.md from inside the repo you want the change in.

⬇ Download capture-commit-8d58d873.md