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

Compare commits

...

4 Commits

Author SHA1 Message Date
b02528f14b
fix: update assets file 2024-07-09 16:09:29 +08:00
addb984c8e
fix: update zht ui assets 2024-07-09 16:08:52 +08:00
1d837b5441
fix: update en ui assets 2024-07-09 16:05:38 +08:00
99a82242d7
fix: correct tray tooltip 2024-05-07 16:40:28 +08:00
4 changed files with 10 additions and 9 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 7.5 KiB

View File

@ -72,17 +72,17 @@ CAFE_CHECK = ButtonWrapper(
),
en=Button(
file='./assets/en/base/page/CAFE_CHECK.png',
area=(196, 8, 259, 37),
search=(176, 0, 279, 57),
color=(188, 197, 206),
button=(196, 8, 259, 37),
area=(106, 12, 167, 36),
search=(86, 0, 187, 56),
color=(173, 184, 194),
button=(106, 12, 167, 36),
),
zht=Button(
file='./assets/zht/base/page/CAFE_CHECK.png',
area=(94, 2, 307, 43),
search=(74, 0, 327, 63),
color=(187, 196, 201),
button=(94, 2, 307, 43),
area=(107, 9, 190, 38),
search=(87, 0, 210, 58),
color=(154, 166, 178),
button=(107, 9, 190, 38),
),
)
CIRCLE_CHECK = ButtonWrapper(

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