Turn Windows Menu Bar off on new window

Morning,

Noticed latest version of Electron 7.0.0 command mainWindow.removeMenu(null) no longer works. Only work around is the window property autoHideMenuBar: false but that doesn’t permanently remove the menu from the active window… an alt key will restore menu

Is there something else I can use ?

thanks