mirror of
https://gitlab.com/Nanolx/NanoDroid
synced 2024-10-31 09:20:23 +00:00
CommonInstaller: don't set progressbar when flashing from Magisk Manager
This commit is contained in:
parent
8f60ed9cb0
commit
9953a5ab03
@ -6,6 +6,7 @@
|
||||
|
||||
* CommonInstaller
|
||||
* code simplifications
|
||||
* don't set progressbar when flashing from Magisk Manager
|
||||
|
||||
### Updates
|
||||
|
||||
|
@ -63,11 +63,11 @@ ui_print() {
|
||||
}
|
||||
|
||||
show_progress() {
|
||||
echo "progress ${1} ${2}" >> /proc/self/fd/${OUTFD}
|
||||
${BOOTMODE} || echo "progress ${1} ${2}" >> /proc/self/fd/${OUTFD}
|
||||
}
|
||||
|
||||
set_progress() {
|
||||
echo "set_progress ${1}" >> /proc/self/fd/${OUTFD}
|
||||
${BOOTMODE} || echo "set_progress ${1}" >> /proc/self/fd/${OUTFD}
|
||||
}
|
||||
|
||||
grep_prop() {
|
||||
|
Loading…
Reference in New Issue
Block a user