Update README.md

This commit is contained in:
Evan Su 2021-08-07 18:05:44 -04:00 committed by GitHub
parent 6dfa1276d8
commit f27c28837c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 5 deletions

View File

@ -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 <a href="https://brew.sh/">Homebrew</a> 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 <a href="https://golang.org/dl">here</a>, 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