OS X changes

This commit is contained in:
Scott E. Graves
2018-12-07 19:59:20 -06:00
parent c90f660f91
commit de012dbcda
6 changed files with 95 additions and 127 deletions

View File

@@ -25,9 +25,9 @@ function createWindow() {
loadUiSettings();
// Create the browser window.
const height = process.env.ELECTRON_START_URL ? 394 : 374;
const height = (process.env.ELECTRON_START_URL ? 394 : 374) - (os.platform() === 'win32' ? 0 : 20);
mainWindow = new BrowserWindow({
width: 425,
width: 425 + (os.platform() === 'win32' ? 0 : 130),
height: height,
resizable: false,
show: !launchHidden,