Commit 9dc6d9af authored by topjohnwu's avatar topjohnwu

Restore AVD after testing

parent d6a5354b
...@@ -64,6 +64,14 @@ test_api() { ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment