Fix order
This commit is contained in:
parent
a60ae4c361
commit
f88fb05d9f
|
@ -18,17 +18,18 @@ Download the corresponding installer for Go from <a href="https://golang.org/dl"
|
||||||
# 3. Get the Source Files
|
# 3. Get the Source Files
|
||||||
Download the source file `Picocrypt.go` from above or `git clone` this repository.
|
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
|
```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
|
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
|
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
|
# 6. Build From Source
|
||||||
- Windows: <code>go build -ldflags "-s -w -H=windowsgui -extldflags=-static" Picocrypt.go</code>
|
- Windows: <code>go build -ldflags "-s -w -H=windowsgui -extldflags=-static" Picocrypt.go</code>
|
||||||
- macOS: <code>go build -ldflags "-s -w" Picocrypt.go</code>
|
- macOS: <code>go build -ldflags "-s -w" Picocrypt.go</code>
|
||||||
|
|
Loading…
Reference in New Issue