mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Merge pull request #1249 from n0k0m3/patch_docker
Init uiautomator2 to prevent minitouch init error
This commit is contained in:
commit
210dd64434
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user