From 0eaadd5dca0eff5267b51325fcb4bc3cd4104ba4 Mon Sep 17 00:00:00 2001 From: xiaozzzi <42293085+xiaozzzi@users.noreply.github.com> Date: Thu, 11 Apr 2024 23:05:49 +0800 Subject: [PATCH] =?UTF-8?q?pref:=20=E4=BC=98=E5=8C=96=20windows=20?= =?UTF-8?q?=E6=89=98=E7=9B=98=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- blossom-editor/src/main/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/blossom-editor/src/main/index.ts b/blossom-editor/src/main/index.ts index 690f1ea..0f1b37d 100644 --- a/blossom-editor/src/main/index.ts +++ b/blossom-editor/src/main/index.ts @@ -168,6 +168,8 @@ const initTray = () => { console.log('1. 创建托盘 Tray') tray = new Tray(icon) const contextMenu = Menu.buildFromTemplate([ + { label: 'Blossom 官网 ', click: () => shell.openExternal('https://www.wangyunf.com/blossom-doc/index') }, + { type: 'separator' }, { label: '显示', click: () => mainWindow!.show() }, { label: '退出', click: () => app.quit() } ])