mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2026-06-24 00:54:52 +00:00
Compare commits
4 Commits
| 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(
|
en=Button(
|
||||||
file='./assets/en/base/page/CAFE_CHECK.png',
|
file='./assets/en/base/page/CAFE_CHECK.png',
|
||||||
area=(196, 8, 259, 37),
|
area=(106, 12, 167, 36),
|
||||||
search=(176, 0, 279, 57),
|
search=(86, 0, 187, 56),
|
||||||
color=(188, 197, 206),
|
color=(173, 184, 194),
|
||||||
button=(196, 8, 259, 37),
|
button=(106, 12, 167, 36),
|
||||||
),
|
),
|
||||||
zht=Button(
|
zht=Button(
|
||||||
file='./assets/zht/base/page/CAFE_CHECK.png',
|
file='./assets/zht/base/page/CAFE_CHECK.png',
|
||||||
area=(94, 2, 307, 43),
|
area=(107, 9, 190, 38),
|
||||||
search=(74, 0, 327, 63),
|
search=(87, 0, 210, 58),
|
||||||
color=(187, 196, 201),
|
color=(154, 166, 178),
|
||||||
button=(94, 2, 307, 43),
|
button=(107, 9, 190, 38),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
CIRCLE_CHECK = ButtonWrapper(
|
CIRCLE_CHECK = ButtonWrapper(
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ 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-----');
|
||||||
@@ -42,7 +43,7 @@ export const createApp = async () => {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
tray.setToolTip('SRC');
|
tray.setToolTip('AAS');
|
||||||
tray.setContextMenu(contextMenu);
|
tray.setContextMenu(contextMenu);
|
||||||
tray.on('click', () => {
|
tray.on('click', () => {
|
||||||
if (mainWindow?.isVisible()) {
|
if (mainWindow?.isVisible()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user