Commit 1baf040b authored by Joel Collins's avatar Joel Collins
Browse files

Show custom titlebar on Win and Linux

parent 3826bdb5
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
//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