Skip to content

Commit

Permalink
update u2.jar to fix exist objInfo not working on pdd (#1033)
Browse files Browse the repository at this point in the history
Co-authored-by: 孙圣翔²⁰₂₁ <[email protected]>
  • Loading branch information
codeskyblue and 孙圣翔²⁰₂₁ authored Sep 2, 2024
1 parent fb9d9f8 commit 7812a2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions uiautomator2/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion uiautomator2/assets/sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)"

Expand Down

0 comments on commit 7812a2c

Please sign in to comment.