From 8262516105ef362b95ad3a360b4c25565a915414 Mon Sep 17 00:00:00 2001 From: Abhi <85984486+AbhiTheModder@users.noreply.github.com> Date: Sun, 17 Dec 2023 20:55:42 +0530 Subject: [PATCH] Update termux-install.sh (#45) --- termux-install.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/termux-install.sh b/termux-install.sh index f4219c2..f12e936 100644 --- a/termux-install.sh +++ b/termux-install.sh @@ -45,6 +45,19 @@ echo "Enter APIFLASH_KEY for webshot plugin" echo "You can get it here -> https://apiflash.com/dashboard/access_keys" read -r -p "APIFLASH_KEY > " apiflash_key +if [[ $apiflash_key = "" ]]; then + echo "NOTE: API Not set you'll not be able to use .webshot plugin" +fi + +echo +echo "Enter RMBG_KEY for remove background module" +echo "You can get it here -> https://www.remove.bg/dashboard#api-key" +read -r -p "RMBG_KEY > " rmbg_key + +if [[ $rmbg_key = "" ]]; then + echo "NOTE: API Not set you'll not be able to use remove background modules" +fi + echo "Choose database type:" echo "[1] MongoDB (your url)" echo "[2] Sqlite" @@ -74,6 +87,7 @@ DATABASE_NAME=${db_name} DATABASE_URL=${db_url} APIFLASH_KEY=${apiflash_key} +RMBG_KEY=${rmbg_key} EOL python3 install.py 3 || exit 3