mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-22 16:23:43 +08:00
Upd: delete notify for GameNotRunningError
This commit is contained in:
@@ -252,12 +252,6 @@ class Device(Screenshot, Control, AppControl, Input):
|
|||||||
if self.app_is_running():
|
if self.app_is_running():
|
||||||
raise GameStuckError(f'Wait too long')
|
raise GameStuckError(f'Wait too long')
|
||||||
else:
|
else:
|
||||||
from module.notify import handle_notify
|
|
||||||
handle_notify(
|
|
||||||
self.config.Error_OnePushConfig,
|
|
||||||
title=f"Alas <{self.config.config_name}> crashed",
|
|
||||||
content=f"<{self.config.config_name}> GameNotRunningError"
|
|
||||||
)
|
|
||||||
raise GameNotRunningError('Game died')
|
raise GameNotRunningError('Game died')
|
||||||
|
|
||||||
def handle_control_check(self, button):
|
def handle_control_check(self, button):
|
||||||
|
|||||||
Reference in New Issue
Block a user