2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-10-31 09:20:23 +00:00
NanoDroid/Full/META-INF/com/google/android/update-binary
2020-10-03 21:16:29 +02:00

38 lines
512 B
Bash

#!/sbin/sh
umask 022
OUTFD=${2}
ZIP=${3}
MODID=NanoDroid
mkdir -p /dev/tmp
unzip -oq "${ZIP}" CommonInstaller -d "/dev/tmp"
if [ ! -f /dev/tmp/CommonInstaller ]; then
echo " !! failed to load Common Installer"
exit 1
else
source "/dev/tmp/CommonInstaller"
fi
setup_installer 1 1 1
install_nanodroidscripts
install_microg
install_mapsv1
install_fdroid
install_store
set_progress 0.5
install_apps
set_progress 0.75
install_initd
install_bash
set_progress 0.9
nanodroid_finalize
set_progress 1.0
exit 0