mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2026-01-07 14:05:12 +00:00
Compare commits
No commits in common. "b02528f14b3a63041166f274a50d8155beb47bac" and "b2ae30b45c10474eecd3463c248371f75ed48a5e" have entirely different histories.
b02528f14b
...
b2ae30b45c
Binary file not shown.
|
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 6.0 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 7.5 KiB After Width: | Height: | Size: 12 KiB |
@ -72,17 +72,17 @@ CAFE_CHECK = ButtonWrapper(
|
|||||||
),
|
),
|
||||||
en=Button(
|
en=Button(
|
||||||
file='./assets/en/base/page/CAFE_CHECK.png',
|
file='./assets/en/base/page/CAFE_CHECK.png',
|
||||||
area=(106, 12, 167, 36),
|
area=(196, 8, 259, 37),
|
||||||
search=(86, 0, 187, 56),
|
search=(176, 0, 279, 57),
|
||||||
color=(173, 184, 194),
|
color=(188, 197, 206),
|
||||||
button=(106, 12, 167, 36),
|
button=(196, 8, 259, 37),
|
||||||
),
|
),
|
||||||
zht=Button(
|
zht=Button(
|
||||||
file='./assets/zht/base/page/CAFE_CHECK.png',
|
file='./assets/zht/base/page/CAFE_CHECK.png',
|
||||||
area=(107, 9, 190, 38),
|
area=(94, 2, 307, 43),
|
||||||
search=(87, 0, 210, 58),
|
search=(74, 0, 327, 63),
|
||||||
color=(154, 166, 178),
|
color=(187, 196, 201),
|
||||||
button=(107, 9, 190, 38),
|
button=(94, 2, 307, 43),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
CIRCLE_CHECK = ButtonWrapper(
|
CIRCLE_CHECK = ButtonWrapper(
|
||||||
|
|||||||
@ -5,7 +5,6 @@ import logger from '/@/logger';
|
|||||||
import {app, nativeImage, Tray} from 'electron';
|
import {app, nativeImage, Tray} from 'electron';
|
||||||
import {join} from 'node:path';
|
import {join} from 'node:path';
|
||||||
import {isMacintosh} from '@common/utils';
|
import {isMacintosh} from '@common/utils';
|
||||||
|
|
||||||
export const createApp = async () => {
|
export const createApp = async () => {
|
||||||
logger.info('-----createApp-----');
|
logger.info('-----createApp-----');
|
||||||
logger.info('-----createMainWindow-----');
|
logger.info('-----createMainWindow-----');
|
||||||
@ -43,7 +42,7 @@ export const createApp = async () => {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
tray.setToolTip('AAS');
|
tray.setToolTip('SRC');
|
||||||
tray.setContextMenu(contextMenu);
|
tray.setContextMenu(contextMenu);
|
||||||
tray.on('click', () => {
|
tray.on('click', () => {
|
||||||
if (mainWindow?.isVisible()) {
|
if (mainWindow?.isVisible()) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user