From 492476c24ff22d8636eddd936729bd7297d7001b Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Tue, 16 Feb 2016 21:21:28 -0800 Subject: [PATCH] os x: hide title bar --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 69656229..5a0cf382 100644 --- a/index.js +++ b/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 () {