2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-10-31 09:20:23 +00:00

SysTest: allow running from Magisk Manager

This commit is contained in:
Christopher Roy Bratusek 2019-06-09 21:43:42 +02:00
parent 7bca4fa347
commit 9531e1d2ac
2 changed files with 6 additions and 6 deletions

View File

@ -16,13 +16,15 @@
* This release drops `OpenWeatherMapProvider`
* check your ROM for supported Weather Providers
* This release switches from alpha to stable `Tor Browser` build
### Bugfixes
* SetupWizard
* fix creating configuration files
* Full package
* switch from Tor Browser alpha to Tor Browser stable release
* SysTest
* allow running from Magisk Manager
### General Changes

View File

@ -14,8 +14,8 @@ LOGFILE="/data/media/0/nanodroid_logs/NanoDroid-SysTest-$(date +%Y%m%d-%H.%M.%S)
##########################################################################################
ui_print() {
echo -n -e "ui_print $1\n" >> /proc/self/fd/$OUTFD
echo -n -e "ui_print\n" >> /proc/self/fd/$OUTFD
${BOOTMODE} && echo "${1}" || \
echo -e "ui_print ${1}\nui_print" >> /proc/self/fd/${OUTFD}
}
is_mounted () {
@ -168,8 +168,6 @@ detect_bootmode () {
[ -z ${BOOTMODE} ] && BOOTMODE=false
${BOOTMODE} || ps | grep zygote | grep -qv grep && BOOTMODE=true
${BOOTMODE} || ps -A | grep zygote | grep -qv grep && BOOTMODE=true
${BOOTMODE} && error " Run from TWRP!"
}
grep_prop() {