修复:macOS下office组件默认路径错误
parent
6b744d77c7
commit
2df88544d3
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue