Skip to content

Commit

Permalink
expose browserWindowOverrides
Browse files Browse the repository at this point in the history
  • Loading branch information
pvrobays committed Sep 13, 2021
1 parent e093a76 commit a88afcf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]
### Fixed
- Always enable electron contextIsolation
- Always enable electron contextIsolation (#122)

### Added
- Preferences option `debug: true` which opens the devTools by default
- Preferences option `debug: true` which opens the devTools by default (#124)
- Expose `browserWindowOverrides` on the preference object (#112)

### Changed
- Checkbox type supports a single boolean value
Expand Down
6 changes: 6 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,12 @@ class ElectronPreferences extends EventEmitter2 {

}

get browserWindowOverrides() {

return this.options.browserWindowOverrides;

}

get defaults() {

return this.options.defaults || {};
Expand Down

0 comments on commit a88afcf

Please sign in to comment.