From eb1daac1af20d68903f6f98bc3fbe3d25f8c6d66 Mon Sep 17 00:00:00 2001 From: reza rafia Date: Fri, 15 Mar 2024 21:02:54 +0330 Subject: [PATCH] a --- forge.config.ts | 4 +--- src/main.ts | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/forge.config.ts b/forge.config.ts index ead958c..618cea7 100644 --- a/forge.config.ts +++ b/forge.config.ts @@ -6,9 +6,7 @@ import { MakerRpm } from '@electron-forge/maker-rpm'; import { VitePlugin } from '@electron-forge/plugin-vite'; const config: ForgeConfig = { - packagerConfig: { - asar: true, - }, + rebuildConfig: {}, makers: [new MakerSquirrel({}), new MakerZIP({}, ['darwin']), new MakerRpm({}), new MakerDeb({})], publishers: [ diff --git a/src/main.ts b/src/main.ts index 6853b48..ea6e113 100644 --- a/src/main.ts +++ b/src/main.ts @@ -18,7 +18,7 @@ const createWindow = () => { }, }); - // mainWindow.setMenuBarVisibility(false) + mainWindow.setMenuBarVisibility(false) // and load the index.html of the app. if (MAIN_WINDOW_VITE_DEV_SERVER_URL) { @@ -28,7 +28,7 @@ const createWindow = () => { } // Open the DevTools. - mainWindow.webContents.openDevTools(); + // mainWindow.webContents.openDevTools(); }; // This method will be called when Electron has finished