-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
29 lines (23 loc) · 797 Bytes
/
install.sh
File metadata and controls
29 lines (23 loc) · 797 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
echo "=========================================="
echo "📦 Installing Dependencies"
echo "=========================================="
cd /root/tg-mitm-system
echo "[1] Updating pip..."
python3 -m pip install --upgrade pip
echo "[2] Installing packages..."
pip install aiogram mitmproxy aiohttp requests
echo "[3] Verifying installation..."
python3 -c "
try:
import aiogram, mitmproxy, requests
print('✅ All dependencies installed!')
print(f' aiogram: {aiogram.__version__}')
print(f' requests: {requests.__version__}')
except ImportError as e:
print(f'❌ Error: {e}')
"
echo "=========================================="
echo "✅ Installation complete!"
echo "Run: ./start.sh <BOT_TOKEN> <ADMIN_ID>"
echo "=========================================="