1
0
mirror of https://github.com/TheFunny/ArisuAutoSweeper synced 2025-12-16 19:55:12 +00:00

fix: disable year detection for jp temporarily

This commit is contained in:
YoursFunny 2024-01-15 21:49:23 +08:00
parent 92702fdc04
commit 08bb139476
Signed by: YoursFunny
GPG Key ID: 207EDC3CD5B40F9C

View File

@ -20,6 +20,11 @@ class UI(MainPage):
ocr_year = Digit(OCR_YEAR).ocr_single_line(self.device.image)
return ocr_year == 2023
# temporary block check for jp
@Config.when(Emulator_GameLanguage='jp')
def appear_trademark_year(self):
return False
@Config.when(Emulator_GameLanguage=None)
def appear_trademark_year(self):
ocr_year = Digit(OCR_YEAR).ocr_single_line(self.device.image)