Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor Browser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Applications
Tor Browser
Commits
6fa3f206
Verified
Commit
6fa3f206
authored
2 years ago
by
Pier Angelo Vendrame
Browse files
Options
Downloads
Patches
Plain Diff
Bug 41108: Remove privileged macOS installation from 102
parent
7b597d4c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!609
Bug 41687: Rebased alpha to 102.10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
toolkit/xre/MacRunFromDmgUtils.mm
+2
-2
2 additions, 2 deletions
toolkit/xre/MacRunFromDmgUtils.mm
with
2 additions
and
2 deletions
toolkit/xre/MacRunFromDmgUtils.mm
+
2
−
2
View file @
6fa3f206
...
...
@@ -288,7 +288,7 @@ static void StripQuarantineBit(NSString* aBundlePath) {
LaunchTask
(
@"/usr/bin/xattr"
,
arguments
);
}
#ifdef
MOZ_UPDATER
#if
def
ined(
MOZ_UPDATER
) && !defined(BASE_BROWSER)
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
def
ined(
MOZ_UPDATER
) && !defined(BASE_BROWSER)
// 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,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment