Fixed condition to use new structure

This commit is contained in:
2023-05-13 18:03:25 +02:00
parent 758f704d1b
commit b35f4ae40a

View File

@@ -83,7 +83,7 @@ do
then
echo "VPN connection successfully established"
echo "Starting script..."
if [ -d "./$vpn" ]
if [ -d "./Microsoft-Rewards-bot/$vpn.json" ]
then
gnome-terminal -- sh -c "cd Microsoft-Rewards-bot && python ms_rewards_farmer.py --dont-check-for-updates --shuffle --session --superfast --on-finish exit --no-webdriver-manager --accounts-file $vpn.json --discord $webhook; exit; exec bash" &
read -t 2