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