Skip to content
Snippets Groups Projects
Commit 66b8cf31 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame :jack_o_lantern:
Browse files

fixup! Bug 9173: Change the default Firefox profile directory to be relative.

Always shortcut the portable installation check on macOS after the
first run of nsXREDirProvider::GetPortableDataDir.
parent 3b54cd07
Branches
Tags
1 merge request!1049Bug 42616 (part 2): Rebased onto Firefox 128.0esr release
......@@ -1262,6 +1262,7 @@ nsresult nsXREDirProvider::GetPortableDataDir(nsIFile** aFile,
// mode.
if (exeDirPath.LowerCaseFindASCII("/applications/") == 0) {
aIsPortable = false;
gDataDirPortable.emplace(nullptr);
return NS_OK;
}
# endif
......@@ -1314,6 +1315,7 @@ nsresult nsXREDirProvider::GetPortableDataDir(nsIFile** aFile,
rv = localDir->Create(nsIFile::DIRECTORY_TYPE, 0700);
if (NS_FAILED(rv)) {
aIsPortable = false;
gDataDirPortable.emplace(nullptr);
return NS_OK;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment