#!/data/data/com.termux/files/usr/bin/bash # Open Google Chrome using am start am start -n com.android.chrome/com.google.android.apps.chrome.Main >/dev/null 2>&1 & # Display running message echo "App is running" # Trap Ctrl+C to exit gracefully trap 'echo; echo "App stopped."; exit 0' INT # Keep the script running until user presses Ctrl+C while true; do sleep 1 done