mirror of
https://gitlab.com/Nanolx/NanoDroid
synced 2024-11-07 15:20:36 +00:00
40 lines
527 B
Plaintext
40 lines
527 B
Plaintext
|
#!/sbin/sh
|
||
|
|
||
|
umask 022
|
||
|
OUTFD=${2}
|
||
|
ZIP=${3}
|
||
|
|
||
|
ZIPDIR=$(dirname "${ZIP}")
|
||
|
MODID=NanoDroid_microG
|
||
|
|
||
|
unzip -o "${ZIP}" nanodroid-functions -d "/tmp" || \
|
||
|
error " !! failed to load Common Installer"
|
||
|
source "/tmp/nanodroid-functions" || \
|
||
|
error " !! failed to load Common Installer"
|
||
|
|
||
|
detect_bootmode
|
||
|
detect_outfd
|
||
|
|
||
|
show_banner
|
||
|
|
||
|
check_system
|
||
|
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
|