OS X changes

This commit is contained in:
Scott E. Graves
2018-12-16 00:29:43 -06:00
parent 97582f4850
commit a7a810ea12

View File

@@ -62,7 +62,7 @@ function createWindow() {
loadUiSettings(); loadUiSettings();
// Create the browser window. // Create the browser window.
const height = (process.env.ELECTRON_START_URL ? 364 : 344) - ((os.platform() === 'win32') ? 0 : 20); const height = (process.env.ELECTRON_START_URL || (os.platform() === 'darwin') ? 364 : 344) - ((os.platform() === 'win32') ? 0 : 20);
mainWindow = new BrowserWindow({ mainWindow = new BrowserWindow({
width: 428 + ((os.platform() === 'win32') ? 0 : (os.platform() === 'darwin') ? 150 : 160), width: 428 + ((os.platform() === 'win32') ? 0 : (os.platform() === 'darwin') ? 150 : 160),
height: height, height: height,