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:
parent
b2ae30b45c
commit
99a82242d7
@ -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()) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user