From 7d37f54abe561fbfc2cc70a8e715db4d841bfde0 Mon Sep 17 00:00:00 2001 From: Horror Proton <107091537+horror-proton@users.noreply.github.com> Date: Fri, 10 Mar 2023 01:23:11 +0800 Subject: [PATCH] chore: use maatouch in python script by default maatouch is more compatable for android in docker --- src/Python/sample.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Python/sample.py b/src/Python/sample.py index fe3253cfb9..444aeb1027 100644 --- a/src/Python/sample.py +++ b/src/Python/sample.py @@ -3,7 +3,7 @@ import pathlib import time from asst.asst import Asst -from asst.utils import Message, Version +from asst.utils import Message, Version, InstanceOptionType from asst.updater import Updater from asst.emulator import Bluestacks @@ -32,9 +32,9 @@ if __name__ == "__main__": # 例如 asst = Asst(callback=my_callback) asst = Asst() - ## 设置额外配置 + # 设置额外配置 # 触控方案配置 - # asst.set_instance_option(InstanceOptionType.touch_type, 'maatouch') + asst.set_instance_option(InstanceOptionType.touch_type, 'maatouch') # 暂停下干员 # asst.set_instance_option(InstanceOptionType.deployment_with_pause, '1')