Show custom titlebar on Win and Linux
This commit is contained in:
parent
3826bdb511
commit
1baf040b89
1 changed files with 7 additions and 4 deletions
|
|
@ -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")
|
||||
Loading…
Add table
Add a link
Reference in a new issue