We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38f76dd commit cc05a5cCopy full SHA for cc05a5c
cmd/internal/build_shared/sdk.go
@@ -85,8 +85,15 @@ var GoBinPath string
85
86
func FindMobile() {
87
goBin := filepath.Join(build.Default.GOPATH, "bin")
88
- if !rw.FileExists(goBin + "/" + "gobind") {
89
- log.Fatal("missing gomobile installation")
+
+ if runtime.GOOS == "windows" {
90
+ if !rw.FileExists(goBin + "/" + "gobind.exe") {
91
+ log.Fatal("missing gomobile.exe installation")
92
+ }
93
+ } else {
94
+ if !rw.FileExists(goBin + "/" + "gobind") {
95
+ log.Fatal("missing gomobile installation")
96
97
}
98
GoBinPath = goBin
99
0 commit comments