diff --git a/core/sys.go b/core/sys.go index 134c2d4..9dc08ac 100644 --- a/core/sys.go +++ b/core/sys.go @@ -60,7 +60,7 @@ func GitPull(filename string) (bool, error) { } func CompileCode() error { - cmd := exec.Command("go", "build") + cmd := exec.Command("/usr/local/go/bin/go", "build") cmd.Path = ExecPath _, err := cmd.Output() if err != nil {