Fix order

This commit is contained in:
Evan Su 2021-06-01 17:55:04 -04:00 committed by GitHub
parent a60ae4c361
commit f88fb05d9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,17 +18,18 @@ Download the corresponding installer for Go from <a href="https://golang.org/dl"
# 3. Get the Source Files
Download the source file `Picocrypt.go` from above or `git clone` this repository.
# 4. Install Picocrypt's Go Dependencies
# 4. Initialize Go and Tidy the Modules:
Go to where `Picocrypt.go` is located and initialize Go:
```bash
go mod init Picocrypt && go mod tidy
```
# 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
# 5. Initialize Go and Tidy the Modules:
Go to where `Picocrypt.go` is located and initialize Go:
```bash
go mod init Picocrypt && go mod tidy
```
# 6. Build From Source
- Windows: <code>go build -ldflags "-s -w -H=windowsgui -extldflags=-static" Picocrypt.go</code>
- macOS: <code>go build -ldflags "-s -w" Picocrypt.go</code>