diff --git a/src/README.md b/src/README.md index 55ca0d6..270fdaa 100644 --- a/src/README.md +++ b/src/README.md @@ -11,7 +11,7 @@ apt install -y gcc libgtk-3-dev libglu1-mesa xclip xorg-dev xcode-select --install brew install glfw glew ``` -**Windows:** A C compiler, ideally [TDM-GCC](https://jmeubank.github.io/tdm-gcc/) +**Windows:** A C compiler, ideally `choco install mingw`, but [TDM-GCC](https://jmeubank.github.io/tdm-gcc/) works too. # 2. Install the Go Programming Language If you don't have Go installed, download the corresponding installer for Go from here, or from your package manager (`apt install golang-go`). The latest version of Go is recommended. @@ -21,9 +21,9 @@ Download the source files as a zip from the homepage or `git clone` this reposit # 4. Build From Source Finally, build Picocrypt from source: -- Windows: go build -ldflags "-s -w -H=windowsgui -extldflags=-static" Picocrypt.go -- macOS: go build -ldflags "-s -w" Picocrypt.go -- Linux: go build -ldflags "-s -w" Picocrypt.go +- Windows: go build -ldflags="-s -w -H=windowsgui -extldflags=-static" Picocrypt.go +- macOS: go build -ldflags="-s -w" Picocrypt.go +- Linux: go build -ldflags="-s -w" Picocrypt.go # 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!