File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -98,12 +98,14 @@ app.on('ready', function(){
9898 . on ( 'error' , function ( event , message ) {
9999 console . log ( 'ERRORED.' ) ;
100100 console . log ( 'Event: ' + JSON . stringify ( event ) + '. MESSAGE: ' + message ) ;
101+ app . dock . hide ( ) ;
101102 } )
102103 . on ( 'checking-for-update' , function ( ) {
103104 console . log ( 'Checking for update' ) ;
104105 } )
105106 . on ( 'update-available' , function ( ) {
106107 console . log ( 'Update available' ) ;
108+ // AutoUpdater Downloads the update automatically
107109 } )
108110 . on ( 'update-not-available' , function ( ) {
109111 console . log ( 'Update not available' ) ;
@@ -126,7 +128,7 @@ app.on('ready', function(){
126128 buttons : [ 'Update & Restart' , 'Cancel' ] ,
127129 title : 'Update Available' ,
128130 cancelId : 99 ,
129- message : 'There is an update available. Would you like to update the app now?'
131+ message : 'There is an update available. Would you like to update Gitify now?'
130132 } , function ( response ) {
131133 console . log ( 'Exit: ' + response ) ;
132134 app . dock . hide ( ) ;
You can’t perform that action at this time.
0 commit comments