Skip to content

Commit

Permalink
fix: zip mac app structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Falk Nielsen committed Dec 14, 2023
1 parent 2a41dff commit a452fc5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ mkdir -p dist
cp -r tools/assets/securecrt-inventory.app dist

CGO_ENABLED=1 GOOS=windows GOARCH=amd64 go build -ldflags "-H=windowsgui" -o dist/securecrt-inventory.exe main.go
CGO_ENABLED=1 go build -o dist/securecrt-inventory.app/Contents/MacOS/securecrt-inventory main.go
CGO_ENABLED=1 go build -o dist/securecrt-inventory.app/Contents/MacOS/securecrt-inventory main.go
zip -r dist/securecrt-inventory.app.zip dist/securecrt-inventory.app

0 comments on commit a452fc5

Please sign in to comment.