mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2025-01-09 08:30:15 +00:00
Add an option to hide window frame
This commit is contained in:
parent
f388ef83c6
commit
2f769bdb82
@ -25,6 +25,7 @@ function createMainWindow(options, onAppQuit, setDockBadge) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const mainWindow = new BrowserWindow({
|
const mainWindow = new BrowserWindow({
|
||||||
|
frame: !options.hideWindowFrame,
|
||||||
width: mainWindowState.width,
|
width: mainWindowState.width,
|
||||||
height: mainWindowState.height,
|
height: mainWindowState.height,
|
||||||
x: mainWindowState.x,
|
x: mainWindowState.x,
|
||||||
|
Loading…
Reference in New Issue
Block a user