2018-01-23 20:11:52 +00:00
|
|
|
#!/sbin/sh
|
|
|
|
|
|
|
|
umask 022
|
|
|
|
OUTFD=${2}
|
|
|
|
ZIP=${3}
|
|
|
|
|
|
|
|
ZIPDIR=$(dirname "${ZIP}")
|
|
|
|
MODID=NanoDroid_microG
|
|
|
|
|
2018-01-28 20:20:47 +00:00
|
|
|
mkdir /dev/tmp
|
|
|
|
unzip -o "${ZIP}" nanodroid-functions -d "/dev/tmp"
|
|
|
|
if [ ! -f /dev/tmp/nanodroid-functions ]; then
|
|
|
|
echo " !! failed to load Common Installer"
|
|
|
|
exit 1
|
|
|
|
else
|
|
|
|
source "/dev/tmp/nanodroid-functions"
|
|
|
|
fi
|
2018-01-23 20:11:52 +00:00
|
|
|
|
|
|
|
detect_bootmode
|
|
|
|
detect_outfd
|
|
|
|
|
|
|
|
show_banner
|
|
|
|
|
2018-02-15 16:50:33 +00:00
|
|
|
mount_all_partitions
|
2018-01-23 20:11:52 +00:00
|
|
|
unpack_zip
|
|
|
|
detect_arch
|
|
|
|
|
|
|
|
get_cfg_setup
|
|
|
|
get_cfg_overlay
|
|
|
|
|
|
|
|
detect_mode
|
|
|
|
|
|
|
|
install_microg
|
|
|
|
install_mapsv1
|
|
|
|
install_gsync
|
|
|
|
install_store
|
|
|
|
install_swipe
|
|
|
|
install_bash
|
|
|
|
install_novl
|
|
|
|
|
|
|
|
nanodroid_finalize
|
|
|
|
|
|
|
|
exit 0
|