mirror of
https://github.com/antebudimir/feishin.git
synced 2025-12-31 18:13:31 +00:00
remove electron file menu (#1041)
This commit is contained in:
parent
99f9cc5968
commit
20debb099d
1 changed files with 1 additions and 0 deletions
|
|
@ -487,6 +487,7 @@ async function createWindow(first = true): Promise<void> {
|
|||
|
||||
const menuBuilder = new MenuBuilder(mainWindow);
|
||||
menuBuilder.buildMenu();
|
||||
Menu.setApplicationMenu(null);
|
||||
|
||||
// Open URLs in the user's browser
|
||||
mainWindow.webContents.setWindowOpenHandler((edata) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue