Commit 3713e6e5 authored by 陈精华's avatar 陈精华 Committed by kl

MacOS下office安装路径更新

parent 4a7ba07d
...@@ -79,12 +79,14 @@ public class OfficeUtils { ...@@ -79,12 +79,14 @@ public class OfficeUtils {
} else if (PlatformUtils.isMac()) { } else if (PlatformUtils.isMac()) {
return findOfficeHome( return findOfficeHome(
"/Applications/OpenOffice.org.app/Contents", "/Applications/OpenOffice.org.app/Contents",
"/Applications/OpenOffice.app/Contents",
"/Applications/LibreOffice.app/Contents" "/Applications/LibreOffice.app/Contents"
); );
} else { } else {
// Linux or other *nix variants // Linux or other *nix variants
return findOfficeHome( return findOfficeHome(
"/opt/openoffice.org3", "/opt/openoffice.org3",
"/opt/openoffice",
"/opt/libreoffice", "/opt/libreoffice",
"/opt/openoffice4", "/opt/openoffice4",
"/usr/lib/openoffice", "/usr/lib/openoffice",
......
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