IMAGINARY / kiosk-browser

Hardened Web Browser with Kiosk-mode
Apache License 2.0
21 stars 2 forks source link

Command line option to hide menu does not work on macOS #49

Open porst17 opened 4 years ago

porst17 commented 4 years ago

By default, the menu should be disabled, but it is always visible and enabled on macOS regardless of the --menu CLI option.

There seem to be quite a few problems with disabling the menu on macOS in Electron. I have build other Electron apps that are able to disable the menu on macOS, so I suppose the issue is related to the way the kiosk-browser is initializing the BrowserWindow.