Skip to content

Commit

Permalink
set GO111MODULE=on
Browse files Browse the repository at this point in the history
  • Loading branch information
zyxkad committed Mar 9, 2024
1 parent 708d9b5 commit 800a4e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/build-windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ func main() {
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
cmd.Env = append(cmd.Env, "GOARCH="+arch)
cmd.Env = append(cmd.Env, "GO111MODULE=on")
if err := cmd.Run(); err != nil {
fmt.Println("Error when building:", err)
os.Exit(1)
Expand Down

0 comments on commit 800a4e4

Please sign in to comment.