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

BB 41108: Remove privileged macOS installation from 102

parent de731e6d
Branches
Tags
1 merge request!1505BB/TB 43416: Rebased onto 135.0a1
......@@ -263,7 +263,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]];
......@@ -292,7 +292,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,
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment