Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update u2.jar to fix exist objInfo not working on pdd #1033

Merged
merged 1 commit into from
Sep 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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_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 @@

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")

Check warning on line 125 in uiautomator2/__main__.py

View check run for this annotation

Codecov / codecov/patch

uiautomator2/__main__.py#L125

Added line #L125 was not covered by tests
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