style check

This commit is contained in:
Araxeus
2021-03-23 22:03:48 +02:00
parent f9c66ead50
commit 7d8afe3476
4 changed files with 8 additions and 9 deletions

View File

@ -2,7 +2,6 @@ const customTitlebar = require('custom-electron-titlebar');
const {remote, ipcRenderer} = require('electron');
module.exports = () => {
//const windowProxy = window.open('https://music.youtube.com', null);
const myBar = new customTitlebar.Titlebar({
backgroundColor: customTitlebar.Color.fromHex('#030303'),
itemBackgroundColor: customTitlebar.Color.fromHex('#121212')
@ -11,8 +10,6 @@ module.exports = () => {
document.title = 'Youtube Music';
ipcRenderer.on('updateMenu', function (event, menu) {
//let menu = Menu.buildFromTemplate(template);
//Menu.setApplicationMenu(menu);
if (menu) {
myBar.updateMenu(remote.Menu.getApplicationMenu());
} else {