mirror of
https://gitlab.com/Nanolx/NanoDroid
synced 2024-10-31 09:20:23 +00:00
CommonInstaller: cleanup TWRP environment when an installation error occurs during System Mode installation (regression from 17.9)
This commit is contained in:
parent
9953a5ab03
commit
0bb7d57f79
@ -2,11 +2,18 @@
|
||||
|
||||
## 17.10 in-dev
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* CommonInstaller
|
||||
* cleanup TWRP environment when an installation error occurs during System Mode installation
|
||||
* regression from 17.9
|
||||
|
||||
### General Changes
|
||||
|
||||
* CommonInstaller
|
||||
* code simplifications
|
||||
* don't set progressbar when flashing from Magisk Manager
|
||||
* minor string change
|
||||
|
||||
### Updates
|
||||
|
||||
|
@ -155,6 +155,9 @@ show_banner () {
|
||||
ui_print " NanoDroid ${VERSION} "
|
||||
ui_print " created by Nanolx "
|
||||
case ${MODID} in
|
||||
NanoDroid )
|
||||
ui_print " Full package "
|
||||
;;
|
||||
NanoDroid_microG )
|
||||
ui_print " microG package "
|
||||
;;
|
||||
@ -174,9 +177,9 @@ error () {
|
||||
if [ "${MODE}" = "MAGISK" ]; then
|
||||
rm -rf "${MODPATH}"
|
||||
unmount_magisk_img
|
||||
${BOOTMODE} || recovery_cleanup
|
||||
fi
|
||||
|
||||
${BOOTMODE} || recovery_cleanup
|
||||
nanodroid_storelogs
|
||||
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user