os x: hide title bar
This commit is contained in:
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 () {
|
||||
|
||||
Reference in New Issue
Block a user