From 88acfe3f9b555338ea68f98b4e4720ffd6eaa1fd Mon Sep 17 00:00:00 2001 From: Shihaam Abdul Rahman Date: Sat, 1 May 2021 04:43:21 +0500 Subject: [PATCH] Added pass reset on android --- login.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/login.sh b/login.sh index 2f46131..2e6154a 100644 --- a/login.sh +++ b/login.sh @@ -17,12 +17,15 @@ elif [ "$LOGIN" = "20" ] echo "" if [ "$MAC" = "true" ] then - open https://www.bankofmaldives.com.mv/internetbanking/forgot_password + open $BML_RESETPASS elif [ "$WSL" = "true" ] then - cmd.exe /C START https://www.bankofmaldives.com.mv/internetbanking/forgot_password + cmd.exe /C START $BML_RESETPASS + elif [ "$ANDROID" = "true" ] + then + am start -a android.intent.action.VIEW -d $BML_RESETPASS else - xdg-open https://www.bankofmaldives.com.mv/internetbanking/forgot_password + xdg-open $BML_RESETPASS fi source readpass.sh elif [ "$LOGIN" = "2" ] @@ -33,4 +36,3 @@ else exit fi -