Skip to content

Commit f1afc24

Browse files
committed
old config
1 parent ae73e8e commit f1afc24

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/main/main.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -869,9 +869,9 @@ if (process.env.NODE_ENV === 'production') {
869869
const isDebug =
870870
process.env.NODE_ENV === 'development' || process.env.DEBUG_PROD === 'true';
871871

872-
// if (isDebug) {
873-
require('electron-debug')();
874-
// }
872+
if (isDebug) {
873+
require('electron-debug')();
874+
}
875875

876876
const installExtensions = async () => {
877877
const installer = require('electron-devtools-installer');
@@ -900,10 +900,10 @@ const createWindow = async () => {
900900
};
901901

902902
mainWindow = new BrowserWindow({
903-
show: true,
903+
show: false,
904904
width: 1280,
905905
height: 800,
906-
autoHideMenuBar: false,
906+
autoHideMenuBar: true,
907907
fullscreen: false,
908908
icon: getAssetPath('icon.png'),
909909
webPreferences: {

0 commit comments

Comments
 (0)