From f27c28837c47d4ff37a631650370b340bddade9d Mon Sep 17 00:00:00 2001 From: Evan Su <48808396+HACKERALERT@users.noreply.github.com> Date: Sat, 7 Aug 2021 18:05:44 -0400 Subject: [PATCH] Update README.md --- src/README.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/README.md b/src/README.md index 9a28f64..1b4100a 100644 --- a/src/README.md +++ b/src/README.md @@ -6,19 +6,22 @@ Linux: ```bash sudo apt-get install -y gcc make curl git tar wget xz-utils libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev libgl1-mesa-dev libxxf86vm-dev libgtk-3-dev xdg-utils && sudo apt-get install -y libglx-dev || echo "" && sudo apt-get install -y xclip || sudo apt-get install xsel ``` -macOS (make sure Homebrew is installed): +macOS: ```bash -sudo xcode-select --install && brew install glfw3 glew +xcode-select --install ``` +Windows: [TDM-GCC](https://jmeubank.github.io/tdm-gcc/) -Windows: No prerequisites # 2. Install the Go Programming Language Download the corresponding installer for Go from here, or from your package manager. Go 1.16 or higher is recommended. # 3. Get the Source Files Download the source file `Picocrypt.go` from above or `git clone` this repository. -# 4. Initialize Go: +# 4. Get Resources +Place all the files in the `resources/` directory in the same directory as `Picocrypt.go`. + +# 5. Create a go.mod: Go to where `Picocrypt.go` is located and initialize Go: ```bash go mod init Picocrypt @@ -26,7 +29,7 @@ go mod init Picocrypt # 5. Install Picocrypt's Go Dependencies ```bash -go get -u -v github.com/pkg/browser && go get -u -v github.com/zeebo/blake3 && go get -u -v golang.org/x/crypto/sha3 && go get -u -v golang.org/x/crypto/argon2 && go get -u -v github.com/AllenDang/giu@v0.5.4 && go get -u -v github.com/OpenDiablo2/dialog && go get -u -v golang.org/x/crypto/blake2b && go get -u -v golang.org/x/crypto/blake2s && go get -u -v github.com/atotto/clipboard && go get -u -v github.com/klauspost/reedsolomon && go get -u -v golang.org/x/crypto/chacha20poly1305 && go get -u -v github.com/HACKERALERT/Picocypher/monocypher + ``` Note: if macOS prompts you to install clang, do so and run the command again