mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fixed default path for Firefox profile and executable on Mac
This commit is contained in:
@@ -162,15 +162,15 @@ public class FirefoxUtil {
|
||||
|
||||
private static File[] getProfilesDirs() {
|
||||
final String userHome = SystemProperties.getUserHome();
|
||||
if (SystemInfo.isUnix) {
|
||||
return new File[] {new File(userHome, ".mozilla" + File.separator + "firefox")};
|
||||
}
|
||||
if (SystemInfo.isMac) {
|
||||
return new File[] {
|
||||
new File(userHome, "Library" + File.separator + "Mozilla" + File.separator + "Firefox"),
|
||||
new File(userHome, "Library" + File.separator + "Application Support" + File.separator + "Firefox"),
|
||||
new File(userHome, "Library" + File.separator + "Mozilla" + File.separator + "Firefox"),
|
||||
new File(userHome, "Library" + File.separator + "Application Support" + File.separator + "Firefox"),
|
||||
};
|
||||
}
|
||||
if (SystemInfo.isUnix) {
|
||||
return new File[] {new File(userHome, ".mozilla" + File.separator + "firefox")};
|
||||
}
|
||||
return new File[] {
|
||||
new File(userHome, "Application Data" + File.separator + "Mozilla" + File.separator + "Firefox")
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user