Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
RezaRafia committed Mar 15, 2024
1 parent 6217531 commit eb1daac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -28,7 +28,7 @@ const createWindow = () => {
}

// Open the DevTools.
mainWindow.webContents.openDevTools();
// mainWindow.webContents.openDevTools();
};

// This method will be called when Electron has finished
Expand Down

0 comments on commit eb1daac

Please sign in to comment.