gemercheung před 3 roky
rodič
revize
4cc850224a
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      packages/main/src/mainWindow.ts

+ 1 - 1
packages/main/src/mainWindow.ts

@@ -17,6 +17,7 @@ async function createWindow() {
     width: 750,
     height: 600,
     resizable: false,
+    autoHideMenuBar: true,
     webPreferences: {
       webviewTag: false, // The webview tag is not recommended. Consider alternatives like iframe or Electron's BrowserView. https://www.electronjs.org/docs/latest/api/webview-tag#warning
       preload: join(__dirname, '../../preload/dist/index.cjs'),
@@ -59,7 +60,6 @@ async function createWindow() {
       } else {
 
         const BenmarkFilePath = join(__dirname, '../../main/command/test.mjs');
-
         const nodePathProduction = join(process.resourcesPath, 'app/node_modules/node/bin/node.exe');
         const nodePath =  app.isPackaged ? nodePathProduction :'node';