Skip to content

Commit

Permalink
add: wireless adb connection log
Browse files Browse the repository at this point in the history
  • Loading branch information
MiaoMint committed Dec 31, 2022
1 parent a3c2e9a commit 512c0cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ func init() {
host := rootCmd.Flag("host").Value.String()
port, _ := strconv.Atoi(rootCmd.Flag("port").Value.String())
if host != "" && port != 0 {
log.Infof("Connect %s:%d", host, port)
client.Connect(host, port)
}
device = client.Device(adb.AnyDevice())
Expand Down

0 comments on commit 512c0cc

Please sign in to comment.