Update termux-install.sh (#45)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user