mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 01:38:21 +08:00
Init uiautomator2 to prevent minitouch init error
This commit is contained in:
@@ -26,4 +26,5 @@ RUN $PYROOT/bin/pip install -r /app/requirements.txt
|
||||
RUN sed -i "s#path = mirror_download(url,#path = cache_download(url,#" $PYROOT/lib/python3.7/site-packages/uiautomator2/init.py
|
||||
|
||||
# When running the image, mount the ALAS folder into the container
|
||||
CMD $PYROOT/bin/python /app/AzurLaneAutoScript/gui.py
|
||||
CMD $PYROOT/bin/python -m uiautomator2 init && \
|
||||
$PYROOT/bin/python /app/AzurLaneAutoScript/gui.py
|
||||
|
||||
Reference in New Issue
Block a user