Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Commit

Permalink
update androidbinary to lastest version, rel openatx/uiautomator2#393
Browse files Browse the repository at this point in the history
  • Loading branch information
codeskyblue committed Sep 2, 2019
1 parent b580a4b commit bd31997
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
13 changes: 9 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ require (
github.com/kardianos/osext v0.0.0-20170510131534-ae77be60afb1 // indirect
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
github.com/kr/binarydist v0.1.0 // indirect
github.com/kr/pty v1.1.1
github.com/kr/pty v1.1.8
github.com/levigross/grequests v0.0.0-20190130132859-37c80f76a0da
github.com/mholt/archiver v2.0.1-0.20171012052341-26cf5bb32d07+incompatible
github.com/mitchellh/ioprogress v0.0.0-20180201004757-6a23b12fa88e
Expand All @@ -42,13 +42,18 @@ require (
github.com/qiniu/log v0.0.0-20140728010919-a304a74568d6
github.com/rs/cors v1.6.0
github.com/sevlyar/go-daemon v0.1.4
github.com/shogo82148/androidbinary v0.0.2-0.20190122102046-6d4ec43b2255
github.com/shogo82148/androidbinary v1.0.1
github.com/sirupsen/logrus v1.1.1
github.com/stretchr/testify v1.3.0
github.com/stretchr/objx v0.2.0 // indirect
github.com/stretchr/testify v1.4.0
github.com/ulikunitz/xz v0.5.5 // indirect
golang.org/x/crypto v0.0.0-20181112202954-3d3f9f413869 // indirect
golang.org/x/net v0.0.0-20181114220301-adae6a3d119a // indirect
golang.org/x/sys v0.0.0-20181121002834-0cf1ed9e522b // indirect
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
)

replace github.com/prometheus/procfs v0.0.2 => github.com/codeskyblue/procfs v0.0.0-20190614074311-71434f4ee4b7
replace (
github.com/prometheus/procfs v0.0.2 => github.com/codeskyblue/procfs v0.0.0-20190614074311-71434f4ee4b7
golang.org/x/net v0.0.0-20181114220301-adae6a3d119a => github.com/golang/net v0.0.0-20181114220301-adae6a3d119a
)
4 changes: 2 additions & 2 deletions utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,8 @@ func readPackageInfoFromPath(apkpath string) (info PackageInfo, err error) {
info.Label, _ = pkg.Label(nil)
info.MainActivity, _ = pkg.MainActivity()
info.Icon, _ = pkg.Icon(nil)
info.VersionCode = pkg.Manifest().VersionCode
info.VersionName = pkg.Manifest().VersionName
info.VersionCode = int(pkg.Manifest().VersionCode.MustInt32())
info.VersionName = pkg.Manifest().VersionName.MustString()
return
}

Expand Down

0 comments on commit bd31997

Please sign in to comment.