We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7555745 commit 4dc92b0Copy full SHA for 4dc92b0
uiautomator2/assets/sync.sh
@@ -5,7 +5,7 @@ set -e
5
6
APK_VERSION=$(cat ../version.py| grep apk_version | awk '{print $NF}')
7
APK_VERSION=${APK_VERSION//[\"\']}
8
-JAR_VERSION="0.1.5"
+JAR_VERSION="0.2.2"
9
10
cd "$(dirname $0)"
11
@@ -28,6 +28,12 @@ function download_apk(){
28
function download_jar() {
29
local URL="https://public.uiauto.devsleep.com/u2jar/$JAR_VERSION/u2.jar"
30
https_proxy= download "$URL" "u2.jar"
31
+ if test -s u2.jar; then
32
+ echo "Download Jar sucessfully"
33
+ else
34
+ echo "Download Jar failed"
35
+ exit 1
36
+ fi
37
}
38
39
echo "APK_VERSION: $APK_VERSION"
0 commit comments