12 lines
421 B
Bash
12 lines
421 B
Bash
#!/system/bin/sh
|
|
|
|
echo "Downloading Update..."
|
|
curl --dns-servers 1.1.1.1,1.0.0.1 -L -o /data/local/tmp/CromiteWebView.apk https://github.com/uazo/cromite/releases/latest/download/arm64_SystemWebView64.apk
|
|
sleep 1
|
|
echo "Installing Update..."
|
|
su -c pm install --install-location 1 /data/local/tmp/CromiteWebView.apk
|
|
sleep 1
|
|
echo "Cleaning Up..."
|
|
su -c rm -rf /data/local/tmp/CromiteWebView.apk
|
|
sleep 1
|
|
echo "Update Done!"
|