1
0
mirror of https://github.com/TheFunny/ArisuAutoSweeper synced 2025-12-16 11:15:13 +00:00

fix: correct tray tooltip

This commit is contained in:
YoursFunny 2024-05-07 16:40:28 +08:00
parent b2ae30b45c
commit 99a82242d7
Signed by: YoursFunny
GPG Key ID: 207EDC3CD5B40F9C

View File

@ -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()) {