diff --git a/src/main.app.js b/src/main.app.js index a7b44007..aff30501 100644 --- a/src/main.app.js +++ b/src/main.app.js @@ -1,7 +1,10 @@ -//import { Titlebar, Color } from 'custom-electron-titlebar' +import { Titlebar, Color } from 'custom-electron-titlebar' -//new Titlebar({ -// backgroundColor: Color.fromHex('#ffffff') -//}); +// Only show custom menubar for Windows or Linux +if ((process.platform !== 'darwin')) { + new Titlebar({ + backgroundColor: Color.fromHex('#c5247f') + }); +} console.log("Loaded main.app.js for electron-renderer functionality") \ No newline at end of file