mirror of
https://gitlab.com/Nanolx/NanoDroid
synced 2024-10-31 09:20:23 +00:00
CommonInstaller: further improve Uninstaller/Addon.d information
This commit is contained in:
parent
b0ce04bce6
commit
6ff44b34ab
@ -310,8 +310,14 @@ unpack_zip () {
|
||||
}
|
||||
|
||||
nanodroid_finalize () {
|
||||
[ "${MODE}" = "MAGISK" ] && magisk_install_finish
|
||||
[ "${MODE}" = "SYSTEM" ] && install_addond
|
||||
if [ "${MODE}" = "MAGISK" ]; then
|
||||
magisk_install_finish
|
||||
else
|
||||
install_addond
|
||||
|
||||
sort /data/adb/.nanodroid-list | uniq > /tmp/nanodroid-list
|
||||
mv /tmp/nanodroid-list /data/adb/.nanodroid-list
|
||||
fi
|
||||
|
||||
rm -rf ${INSTALLER}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user