File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,15 +21,15 @@ let trayIcon = null;
2121
2222exports . hasTray = function hasTray ( ) {
2323 return ( trayIcon !== null ) ;
24- }
24+ } ;
2525
26- exports . create = function ( win , config ) {
26+ exports . create = function ( win , config ) {
2727 // no trays on darwin
2828 if ( process . platform === 'darwin' || trayIcon ) {
2929 return ;
3030 }
3131
32- const toggleWin = function ( ) {
32+ const toggleWin = function ( ) {
3333 if ( win . isVisible ( ) && ! win . isMinimized ( ) ) {
3434 win . hide ( ) ;
3535 } else {
@@ -42,17 +42,17 @@ exports.create = function (win, config) {
4242 const contextMenu = Menu . buildFromTemplate ( [
4343 {
4444 label : 'Show/Hide ' + config . brand ,
45- click : toggleWin
45+ click : toggleWin ,
4646 } ,
4747 {
48- type : 'separator'
48+ type : 'separator' ,
4949 } ,
5050 {
5151 label : 'Quit' ,
52- click : function ( ) {
52+ click : function ( ) {
5353 app . quit ( ) ;
54- }
55- }
54+ } ,
55+ } ,
5656 ] ) ;
5757
5858 trayIcon = new Tray ( config . icon_path ) ;
You can’t perform that action at this time.
0 commit comments