@@ -96,15 +96,15 @@ app.on('ready', () => {
96
96
appWindow . webContents . goBack ( ) ;
97
97
} ) ;
98
98
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' ) )
100
100
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' ) } ,
102
102
{ type : 'separator' } ,
103
103
{ label : 'History' , type : 'normal' } ,
104
104
{ label : 'Bookmarks' , type : 'normal' } ,
105
105
{ label : 'Settings' , type : 'normal' } ,
106
106
{ 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' ) } ,
108
108
] )
109
109
tray . setToolTip ( `Dot ${ app . getVersion ( ) } ` )
110
110
tray . setContextMenu ( contextMenu )
@@ -127,8 +127,6 @@ app.on('ready', () => {
127
127
128
128
appWindow = new AppWindow ( ) ;
129
129
130
- appWindow . webContents . loadURL ( 'http://localhost:4444/app.html' ) ;
131
-
132
130
autoUpdater . on ( 'update-downloaded' , ( { version } ) => {
133
131
appWindow . webContents . send ( 'update-available' , version ) ;
134
132
} ) ;
0 commit comments