@@ -203,7 +203,7 @@ module.exports = (store, services, mainWindow, app, defaultUserAgent) => {
203203 }
204204 } ,
205205 {
206- label : 'About Quark Player' ,
206+ label : 'About ' + appName ,
207207 accelerator : 'Cmd+Alt+A' ,
208208 acceleratorWorksWhenHidden : false ,
209209 visible : isMac ? true : false ,
@@ -212,6 +212,7 @@ module.exports = (store, services, mainWindow, app, defaultUserAgent) => {
212212 width : 512 ,
213213 height : 480 ,
214214 useContentSize : true ,
215+ autoHideMenuBar : true ,
215216 title : 'About Quark Player' ,
216217 icon : isWin ? path . join ( __dirname , 'icon.ico' ) : path . join ( __dirname , 'icon64.png' ) ,
217218 webPreferences : {
@@ -712,7 +713,13 @@ module.exports = (store, services, mainWindow, app, defaultUserAgent) => {
712713 label : 'View Humans.txt' ,
713714 accelerator : 'CmdorCtrl+Alt+Shift+H' ,
714715 click ( ) {
715- const humansWindow = new BrowserWindow ( { width : 532 , height : 600 , useContentSize : true , title : 'humans.txt' } ) ;
716+ const humansWindow = new BrowserWindow ( {
717+ width : 532 ,
718+ height : 600 ,
719+ useContentSize : true ,
720+ autoHideMenuBar : true ,
721+ title : 'humans.txt'
722+ } ) ;
716723 humansWindow . loadFile ( './ui/humans.txt' ) ;
717724 electronLog . info ( 'Opened humans.txt :)' ) ;
718725 }
@@ -721,7 +728,13 @@ module.exports = (store, services, mainWindow, app, defaultUserAgent) => {
721728 label : 'View License' ,
722729 accelerator : 'CmdorCtrl+Alt+Shift+L' ,
723730 click ( ) {
724- const licenseWindow = new BrowserWindow ( { width : 532 , height : 550 , useContentSize : true , title : 'License' } ) ;
731+ const licenseWindow = new BrowserWindow ( {
732+ width : 532 ,
733+ height : 550 ,
734+ useContentSize : true ,
735+ autoHideMenuBar : true ,
736+ title : 'License'
737+ } ) ;
725738 licenseWindow . loadFile ( './ui/license.md' ) ;
726739 electronLog . info ( 'Opened license.md' ) ;
727740 }
@@ -734,7 +747,8 @@ module.exports = (store, services, mainWindow, app, defaultUserAgent) => {
734747 width : 512 ,
735748 height : 500 ,
736749 useContentSize : true ,
737- title : 'About Quark Player' ,
750+ autoHideMenuBar : true ,
751+ title : 'About ' + appName ,
738752 icon : isWin ? path . join ( __dirname , 'icon.ico' ) : path . join ( __dirname , 'icon64.png' ) ,
739753 webPreferences : {
740754 nodeIntegration : false ,
0 commit comments