Roc*_*uts 3 mac shell libreoffice macos
我正在尝试从 OS X 终端运行 LibreOffice 5.1.3,以编写一些转换任务的脚本。
但是,每当我运行时soffice
,我总是收到此错误:
No Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file, exiting
无论我运行它的目录是什么。我还尝试了包含 LibreOffice.app 的目录,或其 Contents/ 目录(顺便说一下,它确实包含一个 Info.plist 文件)或其中的 MacOS/ 或 bin/ 目录。一切都无济于事。
请注意,soffice -h
它确实有效,它为我提供了所有命令行选项的帮助。
我究竟做错了什么?