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

pull/12/head
陈精华 2019-09-03 17:31:36 +08:00 committed by kl
parent 6b744d77c7
commit 2df88544d3
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}