瀏覽代碼

修复:macOS下office组件默认路径错误

陈精华 5 年之前
父節點
當前提交
2df88544d3

+ 1 - 1
jodconverter-core/src/main/java/org/artofsolving/jodconverter/office/OfficeUtils.java

@@ -116,7 +116,7 @@ public class OfficeUtils {
 
     public static File getOfficeExecutable(File officeHome) {
         if (PlatformUtils.isMac()) {
-            return new File(officeHome, "MacOS/soffice.bin");
+            return new File(officeHome, "MacOS/soffice");
         } else {
             return new File(officeHome, "program/soffice.bin");
         }