Skip to content

Commit

Permalink
Merge pull request #1322 from brave/show_component_extensions
Browse files Browse the repository at this point in the history
Add show_component_extensions opt for devs to see component extension…
  • Loading branch information
bsclifton authored Sep 27, 2018
2 parents 5d90028 + 3b6ca48 commit 5c55cd2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ const start = (buildConfig = config.defaultBuildConfig, options) => {
if (options.single_process) {
braveArgs.push('--single-process')
}
if (options.show_component_extensions) {
braveArgs.push('--show-component-extension-options')
}

let cmdOptions = {
stdio: 'inherit',
Expand Down
1 change: 1 addition & 0 deletions scripts/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ program
.option('--disable_brave_rewards_extension', 'disable loading the Brave Rewards extension')
.option('--disable_pdfjs_extension', 'disable loading the PDFJS 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')
.option('--channel <target_chanel>', 'target channel to start', /^(beta|dev|nightly|release)$/i, 'release')
.option('--official_build <official_build>', 'force official build settings')
Expand Down

0 comments on commit 5c55cd2

Please sign in to comment.