Update termux-install.sh (#45)

This commit is contained in:
Abhi
2023-12-17 20:55:42 +05:30
committed by GitHub
parent 3df520bce5
commit 8262516105

View File

@@ -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