added hide label

This commit is contained in:
MrStashley 2024-03-13 16:39:50 -07:00
parent 3490dcbedb
commit 7ee5cb58ea
2 changed files with 7 additions and 1 deletions

View File

@ -4,7 +4,7 @@
"keys": ["Cmd:Option:i"] "keys": ["Cmd:Option:i"]
}, },
{ {
"command": "system:minimizeWindow", "command": "system:hideWindow",
"keys": ["Cmd:m"] "keys": ["Cmd:m"]
}, },
{ {

View File

@ -263,6 +263,12 @@ const menuTemplate: Electron.MenuItemConstructorOptions[] = [
{ type: "separator" }, { type: "separator" },
{ role: "services" }, { role: "services" },
{ type: "separator" }, { type: "separator" },
{
label: "Hide",
click: () => {
MainWindow?.hide();
},
},
{ role: "hideOthers" }, { role: "hideOthers" },
{ type: "separator" }, { type: "separator" },
{ role: "quit" }, { role: "quit" },