mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2026-10-11 15:32:13 +00:00
perf: patch pkg_resources for faster startup
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
import collections
|
||||
|
||||
# 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.device.app_control import AppControl
|
||||
from module.device.control import Control
|
||||
|
||||
Reference in New Issue
Block a user