diff --git a/keepalive.sh b/keepalive.sh index fa2bc62..6a01dbe 100755 --- a/keepalive.sh +++ b/keepalive.sh @@ -1,8 +1,12 @@ #!/bin/bash +if [ -f .env ]; then + source .env +else + echo .env file not found, using env +fi while true; do -source .env curl 'https://faisanet.mib.com.mv/aProfile/keepAlive' \ -X 'POST' \ diff --git a/tx.sh b/tx.sh index f9267f2..2296171 100755 --- a/tx.sh +++ b/tx.sh @@ -1,6 +1,10 @@ #!/bin/bash -source .env +if [ -f .env ]; then + source .env +else + echo .env file not found, using env +fi curl 'https://faisanet.mib.com.mv/ajaxAccounts/trxHistory' \ -H "cookie: prefTheme=1; ql_0=${QL_0}; IBSID=${IBSID}; dashboardStatsMode=1; _zwaf_ua=Brave" \