diff --git a/src/README.md b/src/README.md index 92b7062..8e2d64e 100644 --- a/src/README.md +++ b/src/README.md @@ -14,7 +14,7 @@ brew install glfw glew **Windows:** A C compiler, ideally TDM-GCC or MinGW-w64 # 2. Install Go -If you don't have Go installed, download it from here or install it from your package manager (`apt install golang-go`). The latest version of Go is recommended, although you may fall back to Go 1.18 should any issues arise in the future. +If you don't have Go installed, download it from here or install it from your package manager (`apt install golang-go`). The latest version of Go is recommended, although you may fall back to Go 1.19 should any issues arise in the future. # 3. Get the Source Files Download the source files as a zip from the homepage or `git clone` this repository. Next, navigate to the `src/` directory, where you will find the source file (`Picocrypt.go`). You will need this file, along with `go.mod` and `go.sum`, to compile Picocrypt. @@ -25,6 +25,8 @@ Finally, build Picocrypt from source: - macOS: go build -ldflags="-s -w" Picocrypt.go - Linux: go build -ldflags="-s -w" Picocrypt.go +Note: Make sure to set `CGO_ENABLED=1` if it isn't already. + # 5. Done! You should now see a compiled executable (`Picocrypt.exe`/`Picocrypt`) in your directory. You can run it by double-clicking or executing it in your terminal. That wasn't too hard, right? Enjoy!