Commit 2df88544 authored by 陈精华's avatar 陈精华 Committed by kl

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

parent 6b744d77
...@@ -116,7 +116,7 @@ public class OfficeUtils { ...@@ -116,7 +116,7 @@ public class OfficeUtils {
public static File getOfficeExecutable(File officeHome) { public static File getOfficeExecutable(File officeHome) {
if (PlatformUtils.isMac()) { if (PlatformUtils.isMac()) {
return new File(officeHome, "MacOS/soffice.bin"); return new File(officeHome, "MacOS/soffice");
} else { } else {
return new File(officeHome, "program/soffice.bin"); return new File(officeHome, "program/soffice.bin");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment