Build for Apple silicon.
This commit is contained in:
parent
598ce272cb
commit
357c0f2c0a
1 changed files with 5 additions and 0 deletions
|
@ -8,6 +8,11 @@ zip -9 zenity_win32.zip zenity.exe
|
||||||
GOOS=windows GOARCH=amd64 go build -ldflags="-s -w" -trimpath &&
|
GOOS=windows GOARCH=amd64 go build -ldflags="-s -w" -trimpath &&
|
||||||
zip -9 zenity_win64.zip zenity.exe
|
zip -9 zenity_win64.zip zenity.exe
|
||||||
|
|
||||||
|
rm resource.syso
|
||||||
|
|
||||||
|
GOOS=darwin GOARCH=arm64 go build -ldflags="-s -w" -trimpath &&
|
||||||
|
zip -9 zenity_macos_arm.zip zenity
|
||||||
|
|
||||||
GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w" -trimpath &&
|
GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w" -trimpath &&
|
||||||
zip -9 zenity_macos.zip zenity
|
zip -9 zenity_macos.zip zenity
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue