mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2026-06-23 22:44:51 +00:00
Compare commits
4 Commits
b2ae30b45c
...
b02528f14b
| Author | SHA1 | Date | |
|---|---|---|---|
|
b02528f14b
|
|||
|
addb984c8e
|
|||
|
1d837b5441
|
|||
|
99a82242d7
|
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 |
@@ -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(
|
||||
|
||||
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user