diff --git a/src/main.js b/src/main.js index 6293630e..9248b2b7 100644 --- a/src/main.js +++ b/src/main.js @@ -92,7 +92,7 @@ if (!singleInstanceLock) { mainWindow = new BrowserWindow({ title: `Altus ${app.getVersion()}`, frame: process.platform !== 'darwin' ? !settings.get('customTitlebar.value') : true, - titleBarStyle: 'hidden', + titleBarStyle: process.platform !== 'darwin' ? 'hidden' : 'default', backgroundColor: '#282C34', icon: './build/icon.ico', webPreferences: { @@ -328,7 +328,7 @@ function createWindow(id) { title: `Settings`, frame: process.platform !== 'darwin' ? !settings.get('customTitlebar.value') : true, backgroundColor: '#282C34', - titleBarStyle: 'hidden', + titleBarStyle: process.platform !== 'darwin' ? 'hidden' : 'default', width: 450, height: 400, resizable: false, @@ -360,7 +360,7 @@ function createWindow(id) { title: `Custom CSS for WhatsApp`, frame: process.platform !== 'darwin' ? !settings.get('customTitlebar.value') : true, backgroundColor: '#282C34', - titleBarStyle: 'hidden', + titleBarStyle: process.platform !== 'darwin' ? 'hidden' : 'default', parent: mainWindow, modal: process.platform === 'darwin' ? false : true, resizable: true, @@ -393,7 +393,7 @@ function createWindow(id) { title: `Customize Theme`, frame: process.platform !== 'darwin' ? !settings.get('customTitlebar.value') : true, backgroundColor: '#282C34', - titleBarStyle: 'hidden', + titleBarStyle: process.platform !== 'darwin' ? 'hidden' : 'default', parent: mainWindow, modal: process.platform === 'darwin' ? false : true, resizable: true, @@ -425,7 +425,7 @@ function createWindow(id) { title: `Manage Themes`, frame: process.platform !== 'darwin' ? !settings.get('customTitlebar.value') : true, backgroundColor: '#282C34', - titleBarStyle: 'hidden', + titleBarStyle: process.platform !== 'darwin' ? 'hidden' : 'default', parent: mainWindow, modal: process.platform === 'darwin' ? false : true, resizable: false,