tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit f04dcd883f925452e53fdf1e85e320bd1264f619
parent cd0bf4ee353629c065a52247deab47391e13624f
Author: Pier Angelo Vendrame <pierov@torproject.org>
Date:   Wed, 17 Aug 2022 13:28:01 +0200

BB 41108: Remove privileged macOS installation from 102

Diffstat:
Mtoolkit/xre/MacRunFromDmgUtils.mm | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/toolkit/xre/MacRunFromDmgUtils.mm b/toolkit/xre/MacRunFromDmgUtils.mm @@ -259,7 +259,7 @@ static void ShowInstallFailedDialog() { NS_OBJC_END_TRY_IGNORE_BLOCK; } -#ifdef MOZ_UPDATER +#if defined(MOZ_UPDATER) && !defined(BASE_BROWSER_VERSION) bool LaunchElevatedDmgInstall(NSString* aBundlePath, NSArray* aArguments) { NSTask* task = [[NSTask alloc] init]; [task setExecutableURL:[NSURL fileURLWithPath:aBundlePath]]; @@ -288,7 +288,7 @@ static bool InstallFromPath(NSString* aBundlePath, NSString* aDestPath) { installSuccessful = true; } -#ifdef MOZ_UPDATER +#if defined(MOZ_UPDATER) && !defined(BASE_BROWSER_VERSION) // 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,