Skip to content

Commit

Permalink
Merge pull request #2045 from brave/disable_webtorrent_extension
Browse files Browse the repository at this point in the history
Add disable_webtorrent_extension option
  • Loading branch information
yrliou authored Nov 8, 2018
2 parents 33330dc + 8f51ac1 commit 23a222c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/lib/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ const start = (buildConfig = config.defaultBuildConfig, options) => {
if (options.disable_pdfjs_extension) {
braveArgs.push('--disable-pdfjs-extension')
}
if (options.disable_webtorrent_extension) {
braveArgs.push('--disable-webtorrent-extension')
}
if (options.ui_mode) {
braveArgs.push(`--ui-mode=${options.ui_mode}`)
}
Expand Down
1 change: 1 addition & 0 deletions build/scripts/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ program
.option('--disable_brave_extension', 'disable loading the Brave extension')
.option('--disable_brave_rewards_extension', 'disable loading the Brave Rewards extension')
.option('--disable_pdfjs_extension', 'disable loading the PDFJS extension')
.option('--disable_webtorrent_extension', 'disable loading the WebTorrent extension')
.option('--ui_mode <ui_mode>', 'which built-in ui appearance mode to use', /^(dark|light)$/i)
.option('--show_component_extensions', 'show component extensions in chrome://extensions')
.option('--enable_brave_update', 'enable brave update')
Expand Down

0 comments on commit 23a222c

Please sign in to comment.