WebViewChanger/TermuxScript/finalize.sh

31 lines
659 B
Bash
Raw Permalink Normal View History

2024-11-05 07:23:00 +00:00
#!bin/bash
WD=/sdcard/Download/WVC
# Create WebViewChanger Module and Move to /sdcard/Download
cd $WD
sleep 1
zip -r WVC.zip *
sleep 1
cp $WD/WVC.zip /sdcard/Download/
sleep 1
rm -rf $WD
sleep 1
# Add manual updater to .bashrc
echo $'\n' >> ~/.bashrc
echo "# WVC Updater Script" >> ~/.bashrc
echo "alias WVU='bash ~/wvupdate.sh'" >> ~/.bashrc
echo
echo "-------------------------------------------------"
echo "WVC.zip Created to /sdcard/Download"
echo "Flash in Magisk, then Reboot"
echo "If You Would Like to Update the Installed WebView"
echo "Just run WVU Command in Termux"
echo "-------------------------------------------------"
echo
sleep 5
exit