2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-09-28 04:19:01 +00:00
nativefier/app
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
..
inject Fix bug where css is always injected 2016-02-25 15:25:14 +08:00
src Add --browserwindow-options to completely expose Electron options (PR #835) 2019-08-22 21:37:49 +02:00
.eslintrc.yml Update eslint and use Airbnb style 2017-04-29 22:52:12 +08:00
.npmrc Upgrade dependencies and default to latest Electron 1.7.9 (PR #483) 2017-11-14 08:05:01 -05:00
nativefier.json Fix placeholder for electron app to google 2016-05-26 16:50:42 +08:00
package.json Support packaging nativefier applications into Squirrel-based installers (#744) 2019-02-08 09:57:32 -05:00