mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 10:58:21 +08:00
Opt: Early init minitouch and MaaTouch for faster startup
This commit is contained in:
@@ -70,7 +70,7 @@ class ModuleBase:
|
||||
"""
|
||||
if ModuleBase.EARLY_OCR_IMPORT:
|
||||
return
|
||||
if self.config.task.command.lower() in ['alas', 'template']:
|
||||
if not self.config.is_actual_task:
|
||||
logger.info('No actual task bound, skip early_ocr_import')
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user