2
0
mirror of https://github.com/topjohnwu/Magisk synced 2025-08-31 12:15:15 +00:00

Restore AVD after testing

This commit is contained in:
topjohnwu
2022-06-07 01:06:27 -07:00
parent d6a5354bff
commit 9dc6d9afce

View File

@@ -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