mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-24 16:07:45 +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
|
||||
kill -INT $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
|
||||
|
Loading…
x
Reference in New Issue
Block a user