mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Fix: No module winreg (temporary)
This commit is contained in:
parent
5b34298951
commit
4f25c799b8
@ -5,7 +5,14 @@ from module.base.timer import Timer
|
|||||||
from module.config.utils import get_server_next_update
|
from module.config.utils import get_server_next_update
|
||||||
from module.device.app_control import AppControl
|
from module.device.app_control import AppControl
|
||||||
from module.device.control import Control
|
from module.device.control import Control
|
||||||
from module.device.emulator import EmulatorManager
|
|
||||||
|
import sys
|
||||||
|
if sys.platform == 'win32':
|
||||||
|
from module.device.emulator import EmulatorManager
|
||||||
|
else:
|
||||||
|
class EmulatorManager:
|
||||||
|
pass
|
||||||
|
|
||||||
from module.device.screenshot import Screenshot
|
from module.device.screenshot import Screenshot
|
||||||
from module.exception import (GameStuckError, GameTooManyClickError,
|
from module.exception import (GameStuckError, GameTooManyClickError,
|
||||||
GameNotRunningError, RequestHumanTakeover)
|
GameNotRunningError, RequestHumanTakeover)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user