@@ -96,15 +96,15 @@ app.on('ready', () => {
9696 appWindow . webContents . goBack ( ) ;
9797 } ) ;
9898
99- tray = new Tray ( resolve ( app . getAppPath ( ) , 'src/shared/resources/ icons/logo.png' ) )
99+ tray = new Tray ( resolve ( app . getAppPath ( ) , 'static/app- icons/logo.png' ) )
100100 const contextMenu = Menu . buildFromTemplate ( [
101- { label : `Dot ${ app . getVersion ( ) } ` , type : 'normal' , enabled : false , icon : resolve ( app . getAppPath ( ) , 'src/shared/resources/ icons/tray-icon.png' ) } ,
101+ { label : `Dot ${ app . getVersion ( ) } ` , type : 'normal' , enabled : false , icon : resolve ( app . getAppPath ( ) , 'static/app- icons/tray-icon.png' ) } ,
102102 { type : 'separator' } ,
103103 { label : 'History' , type : 'normal' } ,
104104 { label : 'Bookmarks' , type : 'normal' } ,
105105 { label : 'Settings' , type : 'normal' } ,
106106 { type : 'separator' } ,
107- { label : `Quit Dot ${ app . getVersion ( ) } ` , type : 'normal' , role : 'quit' , icon : resolve ( app . getAppPath ( ) , 'src/shared/resources/ icons/tray-close.png' ) } ,
107+ { label : `Quit Dot ${ app . getVersion ( ) } ` , type : 'normal' , role : 'quit' , icon : resolve ( app . getAppPath ( ) , 'static/app- icons/tray-close.png' ) } ,
108108 ] )
109109 tray . setToolTip ( `Dot ${ app . getVersion ( ) } ` )
110110 tray . setContextMenu ( contextMenu )
@@ -127,8 +127,6 @@ app.on('ready', () => {
127127
128128 appWindow = new AppWindow ( ) ;
129129
130- appWindow . webContents . loadURL ( 'http://localhost:4444/app.html' ) ;
131-
132130 autoUpdater . on ( 'update-downloaded' , ( { version } ) => {
133131 appWindow . webContents . send ( 'update-available' , version ) ;
134132 } ) ;
0 commit comments