mirror of
https://gitlab.com/Nanolx/NanoDroid
synced 2024-10-31 09:20:23 +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
|
||||
* applies to: Full package
|
||||
|
||||
* Patcher
|
||||
* fix detection whether ROM has native signature spoofing
|
||||
|
||||
### General Changes
|
||||
|
||||
* Installer
|
||||
|
@ -39,14 +39,17 @@ elif [ -f /data/adb/NanoDroid_Patched ]; then
|
||||
ui_print " !! /data/adb/NanoDroid_Patched exists"
|
||||
ui_print " !! if you want to force patching, then"
|
||||
error " remove this file and try again"
|
||||
elif search_fake_package_signature; then
|
||||
error " ROM has native signature spoofing already!"
|
||||
fi
|
||||
|
||||
setup_patcher
|
||||
|
||||
detect_sdk
|
||||
detect_arch
|
||||
|
||||
if search_fake_package_signature; then
|
||||
error " ROM has native signature spoofing already!"
|
||||
fi
|
||||
|
||||
detect_odex
|
||||
|
||||
[ -f ${MAGISK_IMG} ] && magisk_setup
|
||||
|
Loading…
Reference in New Issue
Block a user