Revert "cmd/ebitenmobile: Remove gomobile init"

This reverts commit ecc8514d4b.

Reason: This doesn't fix the issue. gomobile assumes the existence of $GOPATH/pkg/gomobile, so leave it as it is.

Updates #1666
This commit is contained in:
Hajime Hoshi 2021-06-09 12:57:29 +09:00
parent f4574590b5
commit ca331f3c67

View File

@ -137,7 +137,9 @@ func prepareGomobileCommands() error {
return err
}
// `gomobile init` is not needed. This just ensures the existence of the latest gobind command.
if err := runCommand("gomobile", []string{"init"}, nil); err != nil {
return err
}
return nil
}