Skip to content
Snippets Groups Projects
Verified Commit 377f8086 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame :jack_o_lantern:
Browse files

fixup! Bug 41108: Remove privileged macOS installation from 102

Bug 41647: Clean up our {TOR,BASE}_BROWSER(_VERSION)? macros

Changed BASE_BROWSER with BASE_BROWSER_VERSION.
parent 6fa3f206
No related branches found
No related tags found
1 merge request!609Bug 41687: Rebased alpha to 102.10
......@@ -288,7 +288,7 @@ static void StripQuarantineBit(NSString* aBundlePath) {
LaunchTask(@"/usr/bin/xattr", arguments);
}
#if defined(MOZ_UPDATER) && !defined(BASE_BROWSER)
#if defined(MOZ_UPDATER) && !defined(BASE_BROWSER_VERSION)
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;
#if defined(MOZ_UPDATER) && !defined(BASE_BROWSER)
#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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment