From 99a82242d7202ea3c325e5b80b12aa2f077c634b Mon Sep 17 00:00:00 2001 From: YoursFunny Date: Tue, 7 May 2024 16:40:28 +0800 Subject: [PATCH] fix: correct tray tooltip --- webapp/packages/main/src/createApp.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webapp/packages/main/src/createApp.ts b/webapp/packages/main/src/createApp.ts index 71ca042..4e62dc8 100644 --- a/webapp/packages/main/src/createApp.ts +++ b/webapp/packages/main/src/createApp.ts @@ -5,6 +5,7 @@ import logger from '/@/logger'; import {app, nativeImage, Tray} from 'electron'; import {join} from 'node:path'; import {isMacintosh} from '@common/utils'; + export const createApp = async () => { logger.info('-----createApp-----'); logger.info('-----createMainWindow-----'); @@ -42,7 +43,7 @@ export const createApp = async () => { }, }, ]); - tray.setToolTip('SRC'); + tray.setToolTip('AAS'); tray.setContextMenu(contextMenu); tray.on('click', () => { if (mainWindow?.isVisible()) {