mirror of
https://github.com/HACKERALERT/Picocrypt.git
synced 2024-09-28 23:31:34 +12:00
Update README.md
This commit is contained in:
parent
6dfa1276d8
commit
f27c28837c
1 changed files with 8 additions and 5 deletions
|
@ -6,19 +6,22 @@ Linux:
|
||||||
```bash
|
```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
|
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
|
```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
|
# 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.
|
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
|
# 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. 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:
|
Go to where `Picocrypt.go` is located and initialize Go:
|
||||||
```bash
|
```bash
|
||||||
go mod init Picocrypt
|
go mod init Picocrypt
|
||||||
|
@ -26,7 +29,7 @@ go mod init Picocrypt
|
||||||
|
|
||||||
# 5. Install Picocrypt's Go Dependencies
|
# 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
|
|
||||||
```
|
```
|
||||||
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue