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

This commit is contained in:
陈精华 2019-09-03 17:31:36 +08:00 committed by kl
parent 6b744d77c7
commit 2df88544d3

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