Added titlebar icon
This commit is contained in:
parent
73b5011fea
commit
22d139ecf8
2 changed files with 12 additions and 1 deletions
|
|
@ -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'
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue