From b506939ea85ce2bde272a58bba7cacf8edf147fc Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Thu, 21 Feb 2019 15:13:29 +0900 Subject: [PATCH] Resizable --- desktop/main.js | 7 ++++--- desktop/sources/index.html | 5 ++++- desktop/sources/scripts/dotgrid.js | 13 ++++++++++++- desktop/sources/scripts/lib/theme.js | 7 +++---- desktop/sources/scripts/renderer.js | 2 +- 5 files changed, 24 insertions(+), 10 deletions(-) diff --git a/desktop/main.js b/desktop/main.js index 2c2fef6..c2b8c0f 100644 --- a/desktop/main.js +++ b/desktop/main.js @@ -16,9 +16,10 @@ app.on('ready', () => { backgroundColor: '#000', resizable: true, icon: __dirname + '/icon.ico', - frame: process.platform === 'win32', - skipTaskbar: process.platform !== 'win32', - autoHideMenuBar: process.platform !== 'win32' + resizable: true, + frame: process.platform !== 'darwin', + skipTaskbar: process.platform === 'darwin', + autoHideMenuBar: process.platform === 'darwin' }) app.win.loadURL(`file://${__dirname}/sources/index.html`) diff --git a/desktop/sources/index.html b/desktop/sources/index.html index 39e0ea6..ba5c8e0 100644 --- a/desktop/sources/index.html +++ b/desktop/sources/index.html @@ -28,7 +28,7 @@