[tbb-commits] [tor-browser] 02/66: Bug 41108: Remove privileged macOS installation from 102

gitolite role git at cupani.torproject.org
Wed Aug 31 17:42:01 UTC 2022


This is an automated email from the git hooks/post-receive script.

richard pushed a commit to branch tor-browser-102.2.0esr-12.0-2
in repository tor-browser.

commit f95df3421fe32c345986d9b836fddb0b85e0d763
Author: Pier Angelo Vendrame <pierov at torproject.org>
AuthorDate: Wed Aug 17 13:28:01 2022 +0200

    Bug 41108: Remove privileged macOS installation from 102
---
 toolkit/xre/MacRunFromDmgUtils.mm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/toolkit/xre/MacRunFromDmgUtils.mm b/toolkit/xre/MacRunFromDmgUtils.mm
index cf84c6f5e4743..d590cd62c7ebf 100644
--- a/toolkit/xre/MacRunFromDmgUtils.mm
+++ b/toolkit/xre/MacRunFromDmgUtils.mm
@@ -288,7 +288,7 @@ static void StripQuarantineBit(NSString* aBundlePath) {
   LaunchTask(@"/usr/bin/xattr", arguments);
 }
 
-#ifdef MOZ_UPDATER
+#if 0
 bool LaunchElevatedDmgInstall(NSString* aBundlePath, NSArray* aArguments) {
   NSTask* task;
   if (@available(macOS 10.13, *)) {
@@ -332,7 +332,7 @@ static bool InstallFromPath(NSString* aBundlePath, NSString* aDestPath) {
 
   bool triedElevatedInstall = false;
 
-#ifdef MOZ_UPDATER
+#if 0
   // The installation may have been unsuccessful if the user did not have the
   // rights to write to the Applications directory. Check for this situation and
   // launch an elevated installation if necessary. Rather than creating a new,

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tbb-commits mailing list