mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-11 12:12:30 +08:00
Add: USE_DATA_KEY_NOTIFIED action to remove pop up in subsequent runs
This commit is contained in:
BIN
assets/cn/handler/USE_DATA_KEY_NOTIFIED.png
Normal file
BIN
assets/cn/handler/USE_DATA_KEY_NOTIFIED.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.3 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 7.4 KiB |
BIN
assets/en/handler/USE_DATA_KEY_NOTIFIED.png
Normal file
BIN
assets/en/handler/USE_DATA_KEY_NOTIFIED.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.3 KiB |
BIN
assets/jp/handler/USE_DATA_KEY_NOTIFIED.png
Normal file
BIN
assets/jp/handler/USE_DATA_KEY_NOTIFIED.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.3 KiB |
BIN
assets/tw/handler/USE_DATA_KEY_NOTIFIED.png
Normal file
BIN
assets/tw/handler/USE_DATA_KEY_NOTIFIED.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.3 KiB |
@@ -115,6 +115,8 @@ class InfoHandler(ModuleBase):
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
if self.appear(USE_DATA_KEY, offset=(20, 20)):
|
if self.appear(USE_DATA_KEY, offset=(20, 20)):
|
||||||
|
self.device.click(USE_DATA_KEY_NOTIFIED)
|
||||||
|
self.device.sleep((0.5, 0.8))
|
||||||
return self.handle_popup_confirm('USE_DATA_KEY')
|
return self.handle_popup_confirm('USE_DATA_KEY')
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
|||||||
Reference in New Issue
Block a user