Nativefier/src/options
FabulousCupcake d0a0614ba3 Add --browserwindow-options to completely expose Electron options (PR #835)
This adds a new flag `--browserwindow-options`, taking a stringified JSON object as input.  
It will be inserted directly into the options when BrowserConfig is initialized.

This allows total configurability of the electron BrowserWindow configuration via nativefier.

An example use case is added to the documentation, which modifies the default font family in the browser.

#### References

- https://github.com/electron/electron/blob/master/docs/api/browser-window.md#new-browserwindowoptions
  - See the following for electron v3.1.7
  - https://github.com/electron/electron/blob/v3.1.7/docs/api/browser-window.md#new-browserwindowoptions
2019-08-22 21:37:49 +02:00
..
fields Make eslint happy 2018-07-21 09:16:02 -04:00
asyncConfig.js Integrate prettier 2018-05-24 00:02:44 -07:00
asyncConfig.test.js Refactor tests to use async/await 2018-05-24 22:46:49 -07:00
normalizeUrl.js Update eslint and use Airbnb style 2017-04-29 22:52:12 +08:00
normalizeUrl.test.js Integrate prettier 2018-05-24 00:02:44 -07:00
optionsMain.js Add --browserwindow-options to completely expose Electron options (PR #835) 2019-08-22 21:37:49 +02:00
optionsMain.test.js Refactor tests to use async/await 2018-05-24 22:46:49 -07:00