|
@@ -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';
|
|
|
|