mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 05:08:19 +08:00
Opt: Patch pkg_resources for faster startup
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
import collections
|
||||
from datetime import datetime
|
||||
|
||||
# Patch pkg_resources before importing adbutils and uiautomator2
|
||||
from module.device.pkg_resources import get_distribution
|
||||
|
||||
# Just avoid being removed by import optimization
|
||||
_ = get_distribution
|
||||
|
||||
from module.base.timer import Timer
|
||||
from module.config.utils import get_server_next_update
|
||||
from module.device.app_control import AppControl
|
||||
|
||||
Reference in New Issue
Block a user