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
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Applications
Tor Browser
Commits
a45d24a9
Verified
Commit
a45d24a9
authored
Aug 17, 2022
by
Pier Angelo Vendrame
Browse files
Options
Downloads
Patches
Plain Diff
Bug 41108: Remove privileged macOS installation from 102
parent
d8b62e8d
No related branches found
No related tags found
2 merge requests
!1202
Bug_43099: 2024 YEC Strings
,
!1136
Bug 43085: Rebased alpha onto 128.2.0esr
Changes
1
Show 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 @
a45d24a9
...
...
@@ -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_VERSION)
bool
LaunchElevatedDmgInstall
(
NSString
*
aBundlePath
,
NSArray
*
aArguments
)
{
NSTask
*
task
=
[[
NSTask
alloc
]
init
];
[
task
setExecutableURL
:[
NSURL
fileURLWithPath
:
aBundlePath
]];
...
...
@@ -319,7 +319,7 @@ static bool InstallFromPath(NSString* aBundlePath, NSString* aDestPath) {
installSuccessful
=
true
;
}
#ifdef
MOZ_UPDATER
#if
def
ined(
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,
...
...
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