Skip to content

Commit 1037def

Browse files
committed
removed top menu bar
1 parent dc21fb8 commit 1037def

3 files changed

Lines changed: 610 additions & 647 deletions

File tree

index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
const { app, BrowserWindow, session } = require('electron');
2-
const fs = require('fs');
1+
const { app, BrowserWindow } = require('electron');
32

43
let mainWindow;
54

@@ -12,6 +11,9 @@ app.whenReady().then(() => {
1211
contextIsolation: true,
1312
},
1413
});
14+
15+
mainWindow.setMenu(null);
16+
1517
mainWindow.loadURL('https://linear.app/login');
1618

1719
app.on('window-all-closed', () => {

0 commit comments

Comments
 (0)