OS X fixes

This commit is contained in:
Scott E. Graves
2018-12-26 16:48:56 -06:00
parent 3bc9fc2844
commit b6a260549c
2 changed files with 3 additions and 1 deletions

View File

@@ -66,6 +66,7 @@ function createWindow() {
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,
fullscreen: false,
resizable: false, resizable: false,
show: !launchHidden, show: !launchHidden,
title: 'Repertory UI', title: 'Repertory UI',

View File

@@ -140,7 +140,8 @@
"mac": { "mac": {
"category": "public.app-category.utilities", "category": "public.app-category.utilities",
"icon": "./build/icon_color.icns", "icon": "./build/icon_color.icns",
"target": "dmg" "target": "dmg",
"darwinDarkModeSupport": true
}, },
"win": { "win": {
"icon": "./build/icon.ico", "icon": "./build/icon.ico",