commit 945735a389a2993b70d84254c2898fc71df21529 Author: Sukhbir Singh sukhbir@torproject.org Date: Thu Jul 21 13:46:31 2016 -0400
Outside app directory should be Tor Messenger (#13252) --- projects/instantbird/Mac-outside-app-data-bug-13252.mozpatch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/projects/instantbird/Mac-outside-app-data-bug-13252.mozpatch b/projects/instantbird/Mac-outside-app-data-bug-13252.mozpatch index a68f446..4ddb4c0 100644 --- a/projects/instantbird/Mac-outside-app-data-bug-13252.mozpatch +++ b/projects/instantbird/Mac-outside-app-data-bug-13252.mozpatch @@ -697,7 +697,7 @@ index 403e820..e3c1449 100644 - nsCOMPtr<nsIFile> localDir; - rv = appRootDir->GetParent(getter_AddRefs(localDir)); - NS_ENSURE_SUCCESS(rv, rv); -- rv = localDir->AppendRelativeNativePath(NS_LITERAL_CSTRING("TorBrowser-Data" +- rv = localDir->AppendRelativeNativePath(NS_LITERAL_CSTRING("TorMessenger-Data" - XPCOM_FILE_PATH_SEPARATOR "UpdateInfo")); -#else - // For Tor Browser, we cannot store update history, etc. under the user's home directory. @@ -862,7 +862,7 @@ index 0000000..2b0b100 + nsCOMPtr<nsIFile> tbDataDir; + +#ifdef TOR_BROWSER_DATA_OUTSIDE_APP_DIR -+ nsAutoCString tbDataLeafName(NS_LITERAL_CSTRING("TorBrowser-Data")); ++ nsAutoCString tbDataLeafName(NS_LITERAL_CSTRING("TorMessenger-Data")); + nsCOMPtr<nsIFile> appRootDir; + nsresult rv = GetAppRootDir(aExeFile, getter_AddRefs(appRootDir)); + NS_ENSURE_SUCCESS(rv, rv);