diff --git a/README.md b/README.md index dc116cd..28e10e7 100644 --- a/README.md +++ b/README.md @@ -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`. diff --git a/configure.sh b/configure.sh index 53a8c6d..5a3a65b 100644 --- a/configure.sh +++ b/configure.sh @@ -5,13 +5,13 @@ 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." fi # Execute COMMAND -$COMMAND \ No newline at end of file +$COMMAND