[tbb-commits] [Git][tpo/applications/tor-browser][base-browser-102.10.0esr-12.5-1] fixup! Bug 4234: Use the Firefox Update Process for Base Browser.
Pier Angelo Vendrame (@pierov)
git at gitlab.torproject.org
Thu Apr 20 07:05:17 UTC 2023
Pier Angelo Vendrame pushed to branch base-browser-102.10.0esr-12.5-1 at The Tor Project / Applications / Tor Browser
Commits:
fd31ee11 by Pier Angelo Vendrame at 2023-04-20T09:01:57+02:00
fixup! Bug 4234: Use the Firefox Update Process for Base Browser.
Bug 41654: Move UpdateInfo into Data again
- - - - -
1 changed file:
- toolkit/xre/nsXREDirProvider.cpp
Changes:
=====================================
toolkit/xre/nsXREDirProvider.cpp
=====================================
@@ -1211,15 +1211,15 @@ nsresult nsXREDirProvider::GetUpdateRootDir(nsIFile** aResult,
NS_ENSURE_SUCCESS(rv, rv);
#if defined(BASE_BROWSER_UPDATE)
- nsCOMPtr<nsIFile> dataDir;
// For Base Browser and derivatives, we store update history, etc. within the
// UpdateInfo directory under the user data directory.
# if defined(ANDROID)
# error "The Base Browser updater is not supported on Android."
-# else
- rv = GetUserDataDirectoryHome(getter_AddRefs(dataDir), false);
+# elif defined(XP_MACOSX)
+ rv = GetUserDataDirectory(getter_AddRefs(updRoot), false);
NS_ENSURE_SUCCESS(rv, rv);
- rv = dataDir->GetParent(getter_AddRefs(updRoot));
+# else
+ rv = GetUserDataDirectoryHome(getter_AddRefs(updRoot), false);
NS_ENSURE_SUCCESS(rv, rv);
# endif
rv = updRoot->AppendNative("UpdateInfo"_ns);
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/fd31ee11649e80f5268db3dbfbbdf42b45b8d86d
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/fd31ee11649e80f5268db3dbfbbdf42b45b8d86d
You're receiving this email because of your account on gitlab.torproject.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20230420/de271c20/attachment-0001.htm>
More information about the tbb-commits
mailing list