[mm-34528] hide menu bar (#1530)
This commit is contained in:
parent
8a218f4d29
commit
3f93702379
|
@ -21,6 +21,7 @@ export function createSettingsWindow(mainWindow, config, withDevTools) {
|
||||||
enableRemoteModule: process.env.NODE_ENV === 'test',
|
enableRemoteModule: process.env.NODE_ENV === 'test',
|
||||||
}});
|
}});
|
||||||
const localURL = getLocalURLString('settings.html');
|
const localURL = getLocalURLString('settings.html');
|
||||||
|
settingsWindow.setMenuBarVisibility(false);
|
||||||
settingsWindow.loadURL(localURL).catch(
|
settingsWindow.loadURL(localURL).catch(
|
||||||
(reason) => {
|
(reason) => {
|
||||||
log.error(`Settings window failed to load: ${reason}`);
|
log.error(`Settings window failed to load: ${reason}`);
|
||||||
|
|
Loading…
Reference in a new issue