diff --git a/client.go b/client.go index b903466..0121ade 100644 --- a/client.go +++ b/client.go @@ -313,7 +313,7 @@ func pathExists(path string) (bool, error) { func AdbPath() string { // so ugly currentPath := getCurrentFile() - platform := Windows + platform := runtime.GOOS adbPath := "" subPath := "mac" url := macAdbURL