Make the hide dock icon setting macOS only
This commit is contained in:
parent
c090300175
commit
5d3bb71bbf
1 changed files with 8 additions and 6 deletions
|
@ -82,12 +82,14 @@ export const createApplicationMenu = async (mainWindow: BrowserWindow) => {
|
|||
checked: isAutoLaunchEnabled,
|
||||
click: toggleAutoLaunch,
|
||||
},
|
||||
{
|
||||
label: "Hide Dock Icon",
|
||||
type: "checkbox",
|
||||
checked: shouldHideDockIcon,
|
||||
click: toggleHideDockIcon,
|
||||
},
|
||||
...macOSOnly([
|
||||
{
|
||||
label: "Hide Dock Icon",
|
||||
type: "checkbox",
|
||||
checked: shouldHideDockIcon,
|
||||
click: toggleHideDockIcon,
|
||||
},
|
||||
]),
|
||||
],
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue