mirror of
https://mirror.suhoan.cn/https://github.com/EasyTier/EasyTier.git
synced 2025-12-15 06:07:23 +08:00
tray: place the exit menu item at bottom (#1291)
This commit is contained in:
@@ -53,9 +53,9 @@ export async function useTray(init: boolean = false) {
|
||||
|
||||
export async function generateMenuItem() {
|
||||
return [
|
||||
await MenuItemExit('Exit'),
|
||||
await PredefinedMenuItem.new({ item: 'Separator' }),
|
||||
await MenuItemShow('Show / Hide'),
|
||||
await PredefinedMenuItem.new({ item: 'Separator' }),
|
||||
await MenuItemExit('Exit'),
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user