feat(tray): add separator

This commit is contained in:
JellyBrick
2023-12-02 05:11:27 +09:00
parent 5f6cfd9558
commit 806098a5ef

View File

@ -96,10 +96,12 @@ export const setUpTray = (app: Electron.App, win: Electron.BrowserWindow) => {
app.dock?.show(); app.dock?.show();
}, },
}, },
{ type: 'separator' },
{ {
label: t('main.tray.restart'), label: t('main.tray.restart'),
click: restart, click: restart,
}, },
{ type: 'separator' },
{ {
label: t('main.tray.quit'), label: t('main.tray.quit'),
role: 'quit', role: 'quit',