mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
remove electron file menu (#1041)
This commit is contained in:
@@ -487,6 +487,7 @@ async function createWindow(first = true): Promise<void> {
|
|||||||
|
|
||||||
const menuBuilder = new MenuBuilder(mainWindow);
|
const menuBuilder = new MenuBuilder(mainWindow);
|
||||||
menuBuilder.buildMenu();
|
menuBuilder.buildMenu();
|
||||||
|
Menu.setApplicationMenu(null);
|
||||||
|
|
||||||
// Open URLs in the user's browser
|
// Open URLs in the user's browser
|
||||||
mainWindow.webContents.setWindowOpenHandler((edata) => {
|
mainWindow.webContents.setWindowOpenHandler((edata) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user