mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-13 09:01:54 +00:00
hide application menu on non-mac systems
This commit is contained in:
parent
edc015886b
commit
4d14a1479a
1 changed files with 5 additions and 1 deletions
|
|
@ -1874,7 +1874,11 @@ ipcMain.handle('hermes:fs:gitRoot', async (_event, startPath) => {
|
|||
})
|
||||
|
||||
app.whenReady().then(() => {
|
||||
Menu.setApplicationMenu(buildApplicationMenu())
|
||||
if (IS_MAC) {
|
||||
Menu.setApplicationMenu(buildApplicationMenu())
|
||||
} else {
|
||||
Menu.setApplicationMenu(null)
|
||||
}
|
||||
installMediaPermissions()
|
||||
createWindow()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue