Add an option to hide window frame

This commit is contained in:
Alexandr Priezzhev 2016-04-17 00:56:40 +02:00
parent f388ef83c6
commit 2f769bdb82
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ function createMainWindow(options, onAppQuit, setDockBadge) {
});
const mainWindow = new BrowserWindow({
frame: !options.hideWindowFrame,
width: mainWindowState.width,
height: mainWindowState.height,
x: mainWindowState.x,