mirror of
https://github.com/netbirdio/gomobile-tvos-fork.git
synced 2026-05-22 18:43:29 -07:00
force pull of gobind-netbird when installing
This commit is contained in:
@@ -79,7 +79,8 @@ func runInit(cmd *command) error {
|
||||
}()
|
||||
|
||||
// Make sure gobind is up to date.
|
||||
if err := goInstall([]string{"github.com/netbirdio/gomobile-tvos-fork/cmd/gobind-netbird@latest"}, nil); err != nil {
|
||||
// Use GOPROXY=direct to bypass proxy cache and fetch latest from GitHub
|
||||
if err := goInstall([]string{"github.com/netbirdio/gomobile-tvos-fork/cmd/gobind-netbird@latest"}, []string{"GOPROXY=direct"}); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user