mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 06:25:24 +00:00
commit
768391852e
BIN
assets/cn/rogue/ui/CURIO_OBTAINED.2.png
Normal file
BIN
assets/cn/rogue/ui/CURIO_OBTAINED.2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.2 KiB |
BIN
assets/share/character/switch/FuXuan.png
Normal file
BIN
assets/share/character/switch/FuXuan.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.4 KiB |
@ -2,6 +2,7 @@ import asyncio
|
|||||||
import filecmp
|
import filecmp
|
||||||
import os
|
import os
|
||||||
import shutil
|
import shutil
|
||||||
|
import sys
|
||||||
import typing as t
|
import typing as t
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
|
|
||||||
@ -9,7 +10,8 @@ from deploy.Windows.alas import AlasManager
|
|||||||
from deploy.Windows.logger import logger
|
from deploy.Windows.logger import logger
|
||||||
from deploy.Windows.utils import cached_property
|
from deploy.Windows.utils import cached_property
|
||||||
|
|
||||||
asyncio.set_event_loop_policy(asyncio.WindowsProactorEventLoopPolicy())
|
if sys.platform.startswith("win"):
|
||||||
|
asyncio.set_event_loop_policy(asyncio.WindowsProactorEventLoopPolicy())
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
|
@ -3,6 +3,16 @@ from module.base.button import Button, ButtonWrapper
|
|||||||
# This file was auto-generated, do not modify it manually. To generate:
|
# This file was auto-generated, do not modify it manually. To generate:
|
||||||
# ``` python -m dev_tools.button_extract ```
|
# ``` python -m dev_tools.button_extract ```
|
||||||
|
|
||||||
|
FuXuan = ButtonWrapper(
|
||||||
|
name='FuXuan',
|
||||||
|
share=Button(
|
||||||
|
file='./assets/share/character/switch/FuXuan.png',
|
||||||
|
area=(1180, 236, 1198, 254),
|
||||||
|
search=(1160, 216, 1218, 274),
|
||||||
|
color=(225, 186, 192),
|
||||||
|
button=(1180, 236, 1198, 254),
|
||||||
|
),
|
||||||
|
)
|
||||||
Huohuo = ButtonWrapper(
|
Huohuo = ButtonWrapper(
|
||||||
name='Huohuo',
|
name='Huohuo',
|
||||||
share=Button(
|
share=Button(
|
||||||
|
@ -97,9 +97,8 @@ class CharacterSwitch(UI):
|
|||||||
TrailblazerPreservationFemale,
|
TrailblazerPreservationFemale,
|
||||||
|
|
||||||
],
|
],
|
||||||
KEYWORDS_CHARACTER_LIST.Huohuo: [
|
KEYWORDS_CHARACTER_LIST.Huohuo: [Huohuo],
|
||||||
Huohuo,
|
KEYWORDS_CHARACTER_LIST.FuXuan: [FuXuan],
|
||||||
],
|
|
||||||
}
|
}
|
||||||
for character, templates in dict_template.items():
|
for character, templates in dict_template.items():
|
||||||
for template in templates:
|
for template in templates:
|
||||||
|
@ -79,13 +79,22 @@ COSMIC_FRAGMENT = ButtonWrapper(
|
|||||||
)
|
)
|
||||||
CURIO_OBTAINED = ButtonWrapper(
|
CURIO_OBTAINED = ButtonWrapper(
|
||||||
name='CURIO_OBTAINED',
|
name='CURIO_OBTAINED',
|
||||||
cn=Button(
|
cn=[
|
||||||
file='./assets/cn/rogue/ui/CURIO_OBTAINED.png',
|
Button(
|
||||||
area=(643, 86, 708, 117),
|
file='./assets/cn/rogue/ui/CURIO_OBTAINED.png',
|
||||||
search=(623, 66, 728, 137),
|
area=(643, 86, 708, 117),
|
||||||
color=(125, 126, 134),
|
search=(623, 66, 728, 137),
|
||||||
button=(643, 86, 708, 117),
|
color=(125, 126, 134),
|
||||||
),
|
button=(643, 86, 708, 117),
|
||||||
|
),
|
||||||
|
Button(
|
||||||
|
file='./assets/cn/rogue/ui/CURIO_OBTAINED.2.png',
|
||||||
|
area=(680, 86, 744, 117),
|
||||||
|
search=(660, 66, 764, 137),
|
||||||
|
color=(123, 124, 129),
|
||||||
|
button=(680, 86, 744, 117),
|
||||||
|
),
|
||||||
|
],
|
||||||
en=[
|
en=[
|
||||||
Button(
|
Button(
|
||||||
file='./assets/en/rogue/ui/CURIO_OBTAINED.png',
|
file='./assets/en/rogue/ui/CURIO_OBTAINED.png',
|
||||||
|
Loading…
Reference in New Issue
Block a user