fix android Shell command function

This commit is contained in:
yungtravla 2019-03-13 02:53:22 +10:00 committed by GitHub
commit 3bbd402aae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

7
core/core_android.go Normal file
View file

@ -0,0 +1,7 @@
// +build android
package core
func Shell(cmd string) (string, error) {
return Exec("/system/bin/sh", []string{"-c", cmd})
}