os x: hide title bar
This commit is contained in:
parent
3011ee97d9
commit
492476c24f
1 changed files with 2 additions and 1 deletions
3
index.js
3
index.js
|
|
@ -32,7 +32,8 @@ app.on('window-all-closed', function () {
|
|||
function createMainWindow () {
|
||||
const win = new electron.BrowserWindow({
|
||||
width: 600,
|
||||
height: 400
|
||||
height: 400,
|
||||
titleBarStyle: 'hidden'
|
||||
})
|
||||
win.loadURL('file://' + path.join(__dirname, 'index.html'))
|
||||
win.once('closed', function () {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue