Commit f1afc24 1 parent ae73e8e commit f1afc24 Copy full SHA for f1afc24
File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -869,9 +869,9 @@ if (process.env.NODE_ENV === 'production') {
869
869
const isDebug =
870
870
process . env . NODE_ENV === 'development' || process . env . DEBUG_PROD === 'true' ;
871
871
872
- // if (isDebug) {
873
- require ( 'electron-debug' ) ( ) ;
874
- // }
872
+ if ( isDebug ) {
873
+ require ( 'electron-debug' ) ( ) ;
874
+ }
875
875
876
876
const installExtensions = async ( ) => {
877
877
const installer = require ( 'electron-devtools-installer' ) ;
@@ -900,10 +900,10 @@ const createWindow = async () => {
900
900
} ;
901
901
902
902
mainWindow = new BrowserWindow ( {
903
- show : true ,
903
+ show : false ,
904
904
width : 1280 ,
905
905
height : 800 ,
906
- autoHideMenuBar : false ,
906
+ autoHideMenuBar : true ,
907
907
fullscreen : false ,
908
908
icon : getAssetPath ( 'icon.png' ) ,
909
909
webPreferences : {
You can’t perform that action at this time.
0 commit comments