Remove menu of BrowserWindow showing the preview of games in newIDE

This commit is contained in:
Florian Rival
2018-04-15 22:34:33 +02:00
parent 61cefa6cd7
commit 3be8966132

View File

@@ -60,6 +60,7 @@ export default class LocalPreviewLauncher extends React.Component<
const win = new BrowserWindow(this.state.previewBrowserWindowConfig);
win.loadURL(`file://${this.state.previewGamePath}/index.html`);
win.setMenu(null);
};
_openPreviewWindow = (