mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-12 11:01:45 +00:00
style check
This commit is contained in:
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user