https://www.reddit.com/r/tasker/comments/14e445n/comment/jozkd3t/
yes | pkg upgrade -y
pkg install -y tur-repo x11-repo python-pip
pkg install -y chromium
pip install selenium >
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/data/data/com.termux/files/usr/bin/bash | |
if [ -z "$1" ] | |
then | |
echo "No input file specified" | |
exit 1 | |
fi | |
echo -ne "\n Checking if Termux has storage permission..." | |
rm -r ~/storage &>/dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/data/data/com.termux/files/usr/bin/bash | |
am start -a android.settings.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS -d package:com.termux | |
echo -ne "\n Checking if Termux has storage permission..." | |
rm -r ~/storage >/dev/null 2>&1 | |
if ! touch /storage/emulated/0/.tmp_check_termux >/dev/null 2>&1 | |
then | |
echo -e "\nGrant Termux storage permission and run the script again\n" | |
termux-setup-storage |
1) Download and open Termux.
2) Type and enter in Termux -
curl -s -L "https://github.com/HunterXProgrammer/Tasker-mdtest/releases/download/mdtest-V3-assets/qr_code_scan_for_mdtest_second_method.sh" | bash
Now to connect it to WhatsApp -
Type and enter in Termux:- >
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
case "senddoc": | |
if len(args) < 3 { | |
log.Errorf("Usage: senddoc <jid> <document path> <title> [mime-type]") | |
return | |
} | |
recipient, ok := parseJID(args[0]) | |
if !ok { | |
return | |
} | |
data, err := os.ReadFile(args[1]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/data/data/com.termux/files/usr/bin/bash | |
echo -ne "\n Checking if Termux has storage permission..." | |
rm -r ~/storage >/dev/null 2>&1 | |
if ! touch /storage/emulated/0/.tmp_check_termux >/dev/null 2>&1 | |
then | |
echo -e "\nGrant Termux storage permission and run the script again\n" | |
termux-setup-storage | |
exit 1 | |
fi | |
rm -rf /storage/emulated/0/.tmp_check_termux >/dev/null 2>&1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
args := os.Args[1:] | |
if len(args) > 0 { | |
handleCmd(strings.ToLower(args[0]), args[1:]) | |
return | |
} | |
c := make(chan os.Signal) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/data/data/com.termux/files/usr/bin/bash | |
echo -ne "\n Checking if Termux has storage permission..." | |
rm -r ~/storage >/dev/null 2>&1 | |
if ! touch /storage/emulated/0/.tmp_check_termux >/dev/null 2>&1 | |
then | |
echo -e "\nGrant Termux storage permission and run the script again\n" | |
termux-setup-storage | |
exit 1 | |
fi | |
rm -rf /storage/emulated/0/.tmp_check_termux >/dev/null 2>&1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
case "senddoc": | |
if len(args) < 3 { | |
log.Errorf("Usage: senddoc <jid> <document path> <title> [mime-type]") | |
return | |
} | |
recipient, ok := parseJID(args[0]) | |
if !ok { | |
return | |
} | |
data, err := os.ReadFile(args[1]) |