From 20f0f09e31685a23d936bbe46850ecdac83b4b8c Mon Sep 17 00:00:00 2001 From: Lightemerald Date: Thu, 22 Jun 2023 14:54:38 +0200 Subject: [PATCH] Changed accounts folder. --- start.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/start.sh b/start.sh index a9fc359..2585500 100644 --- a/start.sh +++ b/start.sh @@ -123,15 +123,15 @@ do then ip=$(curl -s https://api.ipify.org) send_webhook "[$host] VPN connection successfully established (IP: $ip).\nStarting script..." - if [ -f "./Microsoft-Rewards-bot/$vpn.json" ] + if [ -f "./accounts/$vpn.json" ] then if [ -z "$webhook" ]; then command_suffix="--accounts-file $vpn.json" else if [[ "$print_log_to_webhook" == 1 ]]; then - command_suffix="--accounts-file $vpn.json --discord $webhook --print-to-webhook" + command_suffix="--accounts-file ../accounts/$vpn.json --discord $webhook --print-to-webhook" else - command_suffix="--accounts-file $vpn.json --discord $webhook" + command_suffix="--accounts-file ../accounts/$vpn.json --discord $webhook" fi fi if grep -q "container=lxc" /proc/1/environ || grep -q "container=lxc-libvirt" /proc/1/environ; then