Added titlebar icon

This commit is contained in:
Joel Collins 2019-06-03 13:38:03 +01:00
parent 73b5011fea
commit 22d139ecf8
2 changed files with 12 additions and 1 deletions

View file

@ -1,9 +1,11 @@
import { Titlebar, Color } from 'custom-electron-titlebar'
// Only show custom menubar for Windows or Linux
if ((process.platform !== 'darwin')) {
new Titlebar({
backgroundColor: Color.fromHex('#c5247f')
backgroundColor: Color.fromHex('#c5247f'),
icon: './titleicon.svg'
});
}