mirror of
https://gitlab.com/Nanolx/NanoDroid
synced 2024-10-31 09:20:23 +00:00
CommonInstaller: error-out when nanodroid_forcesystem is true, but we flash from Magisk Manager
This commit is contained in:
parent
343d2bddc4
commit
262e03fdae
@ -740,6 +740,10 @@ detect_arch () {
|
||||
detect_mode () {
|
||||
case "${nanodroid_forcesystem}" in
|
||||
1 )
|
||||
if ${BOOTMODE}; then
|
||||
print_info "nanodroid_forcesystem set to true"
|
||||
error "can't install to /system from Magisk Manager"
|
||||
fi
|
||||
MODE_DETECT=forced
|
||||
MODE=SYSTEM
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user