1
0
Fork 0

Updates readme

This commit is contained in:
sloum 2021-06-23 22:54:32 -07:00
parent 715268a8e8
commit 10bf83a21b
1 changed files with 7 additions and 1 deletions

View File

@ -29,11 +29,17 @@ Minor build variations can be found for each system. Using upx (`apt install upx
### OSX / Linux
If not using upx just do everything before the `&&`.
You should be able to just run `sudo make install`. If you just want to build locally you can run: `make && make compress`
Alternatively, you can just run a few things yourself and avoid make altogether:
`go build -ldflags "-s -w" -o gnums && upx gnums`
You would then need to move the executable to where you want it.
### Windows
Windows functionality and build steps are unconfirmed. As is the Makefile for windows usage. The following _should_ work. The makefile instructions provided for OSX/Linux _might_ work.
`go build -ldflags "-s -w -H=windowsgui -extldflags=-static" -o gnums.exe`