[Feature]: Ability to inject `init.sh` or `boot.sh` into the APK
Feature description
Just like apt_info_script.sh is included in the resource path of the APK, I would like to embed a shell script that automatically runs either on first launch or every time Termux starts. This way, simply installing the APK would result in a fully customized Termux environment being set up automatically.
Additional information
https://github.com/termux/termux-packages/discussions/9586
Feature description
Just like
apt_info_script.shis included in the resource path of the APK, I would like to embed a shell script that automatically runs either on first launch or every time Termux starts. This way, simply installing the APK would result in a fully customized Termux environment being set up automatically.Additional information
Termux boot app and cronie can do that
Download and install
https://github.com/termux/termux-boot
Install cronie in termux
pkg install cronie
Run daemon
crond
add your scheduler
crontab -e
termux-setup-storage
ip addr