getomni-ai / zerox

PDF to Markdown with vision models
https://getomni.ai/ocr-demo
MIT License
6.68k stars 363 forks source link

Fix isSudoAvailable() check in npm post-install #28

Closed tylermaran closed 2 months ago

tylermaran commented 2 months ago

Fix for #27

The Check and install LibreOffice function was not included in the main try...catch and therefore didn't have access to the isSudoAvailable variable.