diff --git a/uiautomator2/__main__.py b/uiautomator2/__main__.py index 9f98c51..1ebaeb2 100644 --- a/uiautomator2/__main__.py +++ b/uiautomator2/__main__.py @@ -112,7 +112,7 @@ def cmd_version(args): def cmd_console(args): import code import platform - + d = u2.connect(args.serial) model = d.shell("getprop ro.product.model").output.strip() serial = d.serial @@ -122,7 +122,7 @@ def cmd_console(args): c = get_config() c.InteractiveShellEmbed.colors = "neutral" - IPython.embed(config=c, header="IPython -- d.info is ready") + IPython.embed(config=c, header=f"IPython is ready, uiautomator2: {__version__}, try d.info") except ImportError: _vars = globals().copy() _vars.update(locals()) diff --git a/uiautomator2/assets/sync.sh b/uiautomator2/assets/sync.sh index 1739cc1..46efedc 100755 --- a/uiautomator2/assets/sync.sh +++ b/uiautomator2/assets/sync.sh @@ -5,7 +5,7 @@ set -e APK_VERSION=$(cat ../version.py| grep apk_version | awk '{print $NF}') APK_VERSION=${APK_VERSION//[\"\']} -JAR_VERSION="0.1.2" +JAR_VERSION="0.1.3" cd "$(dirname $0)"