mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-25 04:57:37 +00:00
Restore AVD after testing
This commit is contained in:
parent
d6a5354bff
commit
9dc6d9afce
@ -64,6 +64,14 @@ test_api() {
|
|||||||
adb shell magisk -v
|
adb shell magisk -v
|
||||||
kill -INT $pid
|
kill -INT $pid
|
||||||
wait $pid
|
wait $pid
|
||||||
|
|
||||||
|
# Restore patches
|
||||||
|
if [ -f "${ramdisk}.bak" ]; then
|
||||||
|
cp "${ramdisk}.bak" "$ramdisk"
|
||||||
|
fi
|
||||||
|
if [ -f "${features}.bak" ]; then
|
||||||
|
cp "${features}.bak" "$features"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# Build our executables
|
# Build our executables
|
||||||
|
Loading…
x
Reference in New Issue
Block a user