mirror of
https://gitlab.com/Nanolx/NanoDroid
synced 2024-11-02 03:40:13 +00:00
Patcher: fix detection whether ROM has native signature spoofing
This commit is contained in:
parent
2163d0a462
commit
190c1bfb8c
@ -12,6 +12,9 @@
|
|||||||
* don't try to start `permissions` init script, removed since ages
|
* don't try to start `permissions` init script, removed since ages
|
||||||
* applies to: Full package
|
* applies to: Full package
|
||||||
|
|
||||||
|
* Patcher
|
||||||
|
* fix detection whether ROM has native signature spoofing
|
||||||
|
|
||||||
### General Changes
|
### General Changes
|
||||||
|
|
||||||
* Installer
|
* Installer
|
||||||
|
@ -39,14 +39,17 @@ elif [ -f /data/adb/NanoDroid_Patched ]; then
|
|||||||
ui_print " !! /data/adb/NanoDroid_Patched exists"
|
ui_print " !! /data/adb/NanoDroid_Patched exists"
|
||||||
ui_print " !! if you want to force patching, then"
|
ui_print " !! if you want to force patching, then"
|
||||||
error " remove this file and try again"
|
error " remove this file and try again"
|
||||||
elif search_fake_package_signature; then
|
|
||||||
error " ROM has native signature spoofing already!"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
setup_patcher
|
setup_patcher
|
||||||
|
|
||||||
detect_sdk
|
detect_sdk
|
||||||
detect_arch
|
detect_arch
|
||||||
|
|
||||||
|
if search_fake_package_signature; then
|
||||||
|
error " ROM has native signature spoofing already!"
|
||||||
|
fi
|
||||||
|
|
||||||
detect_odex
|
detect_odex
|
||||||
|
|
||||||
[ -f ${MAGISK_IMG} ] && magisk_setup
|
[ -f ${MAGISK_IMG} ] && magisk_setup
|
||||||
|
Loading…
Reference in New Issue
Block a user