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
0529b250
Commit
0529b250
authored
Mar 2, 2023
by
Pier Angelo Vendrame
Committed by
Richard Pospesel
Mar 13, 2023
Browse files
Options
Downloads
Patches
Plain Diff
fixup! TB3: Tor Browser's official .mozconfigs.
Restore the changes taken away earlier.
parent
63f3e3ab
No related branches found
No related tags found
1 merge request
!580
Rebase Tor Browser Alpha to 102.9.0esr
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
moz.configure
+24
-0
24 additions, 0 deletions
moz.configure
mozconfig-macos-x86_64
+0
-1
0 additions, 1 deletion
mozconfig-macos-x86_64
toolkit/modules/AppConstants.jsm
+7
-0
7 additions, 0 deletions
toolkit/modules/AppConstants.jsm
with
31 additions
and
1 deletion
moz.configure
+
24
−
0
View file @
0529b250
...
...
@@ -1044,6 +1044,30 @@ def relative_data_dir(value, target):
set_define
(
"
RELATIVE_DATA_DIR
"
,
relative_data_dir
)
# Tor Browser additions.
# We always want Tor Browser to be defined. Since we do not need any
# value for it, just always set it to True.
set_define
(
"
TOR_BROWSER
"
,
True
)
option
(
"
--enable-tor-browser-update
"
,
help
=
"
Enable Tor Browser update
"
)
@depends
(
"
--enable-tor-browser-update
"
)
def
tor_browser_update
(
value
):
if
value
:
return
True
set_config
(
"
TOR_BROWSER_UPDATE
"
,
tor_browser_update
)
set_define
(
"
TOR_BROWSER_UPDATE
"
,
tor_browser_update
)
add_old_configure_assignment
(
"
TOR_BROWSER_UPDATE
"
,
tor_browser_update
)
# Please do not add configure checks from here on.
# Fallthrough to autoconf-based configure
...
...
...
...
This diff is collapsed.
Click to expand it.
mozconfig-macos-x86_64
+
0
−
1
View file @
0529b250
...
...
@@ -6,4 +6,3 @@ ac_add_options --enable-strip
ac_add_options --disable-update-agent
ac_add_options --with-relative-data-dir=../TorBrowser-Data/Browser
ac_add_options --enable-tor-browser-data-outside-app-dir
This diff is collapsed.
Click to expand it.
toolkit/modules/AppConstants.jsm
+
7
−
0
View file @
0529b250
...
...
@@ -460,6 +460,13 @@ this.AppConstants = Object.freeze({
false,
#endif
TOR_BROWSER_UPDATE:
#ifdef TOR_BROWSER_UPDATE
true,
#else
false,
#endif
// Returns true for CN region build when distibution id set as 'MozillaOnline'
isChinaRepack() {
return (
...
...
...
...
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
sign in
to comment