Useful usage of Termux:Tasker(tudo wrapper)

sampleuserhere

Active member
@Dev777 You need to escape ' first and pass the script like below steps.

Let's say the script is stored under a local variable called script in MD, then we can pass -s '%script' as the argument with tudo location as the executable path.

If the script contains ' then the single quote should be replaced (escaped) with '\''.

Use Text Manipulation > Replace All action to replace '. The new text should be '\\'' (\ needs to be escaped).
 

Dev777

Member
8Normally, when using Termux:Tasker, you need to prepare a script and specify a file to use it, but by setting up tudo, you can write code directly in Arguments.


tudo setup
1.pkg install vim
2.pkg install curl
3.curl -L 'https://github.com/agnostic-apollo/tudo/releases/latest/download/tudo' -o "/data/data/com.termux/files/usr/bin/tudo"

One more thing. On step number 3. I get this error. Happened on two of my phones running MIUI 14 and Another Oxygen os 11. What's the best way to fix it?

CANNOT LINK EXECUTABLE "curl": library "libssl.so.1.1" not found: needed by /data/data/com.termux/files/usr/lib/libssh2.so in namespace (default)


Googling says I use this code. Is this the best way to fix this?


pkg up -y && pkg install openssl
 

Attachments

  • IMG-20231102-WA0002.jpg
    IMG-20231102-WA0002.jpg
    120.2 KB · Views: 4

Dimlos

Well-known member
Downloading with Curl sometimes fails.
Tudo will work even if you download it with a browser and move it with a filer.
 
Top