fix: menu await

This commit is contained in:
JellyBrick
2023-11-28 12:32:07 +09:00
parent da70a4ce7e
commit 1d26d10e57
3 changed files with 12 additions and 12 deletions

View File

@ -600,8 +600,8 @@ app.whenReady().then(async () => {
}
mainWindow = await createMainWindow();
setApplicationMenu(mainWindow);
refreshMenu(mainWindow);
await setApplicationMenu(mainWindow);
await refreshMenu(mainWindow);
setUpTray(app, mainWindow);
setupProtocolHandler(mainWindow);