From eab1db79a11835dbb430421c27a31b7f4d91813a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=98=89=E4=BC=9F?= <8473136@qq.com> Date: Tue, 6 Aug 2024 19:41:49 +0800 Subject: [PATCH] =?UTF-8?q?:lipstick:=20=E6=96=B0LOGO?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- electron/main/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/electron/main/index.ts b/electron/main/index.ts index 16422b7..6aa998f 100644 --- a/electron/main/index.ts +++ b/electron/main/index.ts @@ -54,7 +54,7 @@ log.transports.console.level = "debug"; async function createWindow() { win = new BrowserWindow({ title: "Frpc Desktop", - icon: join(process.env.VITE_PUBLIC, "logo/16x16.png"), + icon: join(process.env.VITE_PUBLIC, "logo/only/16x16.png"), width: 800, height: 600, minWidth: 800, @@ -137,7 +137,7 @@ export const createTray = () => { } } ]; - tray = new Tray(node_path.join(process.env.VITE_PUBLIC, "logo/16x16.png")) + tray = new Tray(node_path.join(process.env.VITE_PUBLIC, "logo/only/16x16.png")) tray.setToolTip('Frpc Desktop') const contextMenu = Menu.buildFromTemplate(menu) tray.setContextMenu(contextMenu)