fix
This commit is contained in:
commit
2c6960884e
@ -16,6 +16,8 @@ This project is made 'like a library', so compiling is useless... :)
|
||||
|
||||
! DO NOT CLONE THIS REPOSITORY, USE [RELEASES](https://github.com/ENDev-WHY2/WHY2-Encryption-System/releases) INSTEAD > releases, that have `(C)` in the name < !
|
||||
|
||||
Run `configure.sh` and you'll be good to go.
|
||||
|
||||
To **encrypt** text, use function `encryptText()` from file `include/encrypter.h`.
|
||||
|
||||
To **decrypt** text, use function `decryptText()` from file `include/decrypter.h`.
|
||||
|
@ -5,9 +5,9 @@ DISTRO=$(lsb_release -is)
|
||||
|
||||
# Get COMMAND
|
||||
if [[ $DISTRO == "Arch" ]]; then
|
||||
COMMAND="sudo pacman -S --needed json-c"
|
||||
COMMAND="sudo pacman -S --needed json-c && sudo pacman -S --needed curl"
|
||||
elif [[ $DISTRO == "Ubuntu" ]] || [[ $DISTRO == "Debian" ]]; then
|
||||
COMMAND="sudo apt install libjson-c3"
|
||||
COMMAND="sudo apt install libjson-c3 && sudo apt install curl"
|
||||
else
|
||||
# 'Unsupported' distro
|
||||
echo "It seems you are using unsupported distribution... Don't worry, just install https://github.com/json-c/json-c and you'll be fine."
|
||||
|
Loading…
x
Reference in New Issue
Block a user