#dynamic-condition-response #bashproject
Switch downloader scripts easily and quickly. Now you can use the termux-url-opener feature more often.
- ztme-toolbox [activity] (Run scripts directly through cloned repos)
- ztme-toolbox [receiver] (As termux-url-opener script to clone repository via Android share)
How to download downloader script?
- Find the `termux-url-opener' script on github or any source. NOTE: download at least 2 different downloader scripts before using this manager (otherwise you may not need this).
- Rename each "termux-url-opener" file to its creator name
- Place the downloader script in the ~/bin directory
- That's it! Run the script if you want to switch to a different downloader script.
wget luisadha.github.io/weapon-url-opener && bash weapon-url-opener
(1) : Copy this
. <(curl -L luisadha.github.io/weapon-url-opener)
(2) : Type `wuo' to start program, when you exit the current shell session the function can no longer be called
basher install luisadha/weapon-url-opener
weapon-url-opener
wuo
wuo-uninstall.sh
basher uninstall luisadha/weapon-url-opener
How to get your own script to run by the ztme-toolbox
Rules :
-
Make sure your shebang is set according to the script language used so as to avoid errors, Use the built-in termux tool "termux-fix-shebang"
-
The name of the repository must be identical to the name of the script itself and must have a .sh extension.
Congratulations your script to be read by ZTME-Toolbox
- Termux:API
- Minimun two downloader script
- AK500.sh (termux-url-opener) to download audio/video from YouTube via Android shared
- ztme-toolbox (termux-url-opener) to clone github repository via Android shared