mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-24 15:39:59 +08:00
Merge pull request #1249 from n0k0m3/patch_docker
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