2
0
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:
Christopher Roy Bratusek 2018-04-10 20:31:28 +02:00
parent b0ce04bce6
commit 6ff44b34ab

View File

@ -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}