Nativefier/src
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
..
build Add --browserwindow-options to completely expose Electron options (PR #835) 2019-08-22 21:37:49 +02:00
helpers Support macOS 10.4+ Dark Mode, default to Electron 5.x (#796) 2019-08-22 21:05:39 +02:00
infer Make eslint happy 2018-07-21 09:16:02 -04:00
options Add --browserwindow-options to completely expose Electron options (PR #835) 2019-08-22 21:37:49 +02:00
utils Make eslint happy 2018-07-21 09:16:02 -04:00
cli.js Add --browserwindow-options to completely expose Electron options (PR #835) 2019-08-22 21:37:49 +02:00
constants.js Support macOS 10.4+ Dark Mode, default to Electron 5.x (#796) 2019-08-22 21:05:39 +02:00
index.js Fix lint error 2016-03-12 01:42:53 +08:00