blob: a20077f68c71d43c249008640bb184eede7219e2 [file] [log] [blame]
#!/bin/bash
set -e
case "$1" in
copy)
GOOS=linux GOARCH=arm GOARM=7 go build -o go-disruptor
adb push go-disruptor /data/local/tmp
;;
esac
adb shell "cd /data/local/tmp; chmod 755 go-disruptor; ./go-disruptor"