Created
March 9, 2024 07:43
-
-
Save parsibox/5a6c51a191c7aaf30da2afc0b9305010 to your computer and use it in GitHub Desktop.
windows command for goland to build go for linux os and then compress file with upx and then open folder in explorer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$Env:GOOS = "linux" ; $Env:GOARCH = "amd64"; go build -o TelircoEsbLog -ldflags "-w -s" ../main.go ; C:\portable\upx-4.0.2-win64\upx.exe TelircoEsbLog ; explorer . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment