Update install.sh

This commit is contained in:
2025-06-19 11:51:00 +00:00
parent e18fd27fb0
commit c7f280ee2c

View File

@@ -52,7 +52,9 @@ function menu() {
}
function set_telegram_credentials() {
cd "$CLONE_DIR" || exit 1
# REMOVE THIS LINE:
# cd "$CLONE_DIR" || exit 1
echo -e "${YELLOW}📨 Enter your Telegram bot token:${NC}"
read -rp "🔑 TELEGRAM_TOKEN: " token
echo -e "${YELLOW}👥 Enter your Telegram chat ID:${NC}"
@@ -62,6 +64,7 @@ function set_telegram_credentials() {
echo -e "${GREEN}✅ Credentials updated in bot.py${NC}"
}
function clone_and_build() {
if [ -d "$CLONE_DIR" ]; then
echo -e "${RED}⚠️ Folder '$CLONE_DIR' already exists.${NC}"