push service correctly

This commit is contained in:
5ec1cff
2024-07-12 23:28:15 +08:00
parent bd372eb2d3
commit 83ba59279c

View File

@@ -65,7 +65,7 @@ androidComponents.onVariants { variant ->
commandLine(
"adb",
"shell",
"su -c \"mv /data/local/tmp/service.apk /data/adb/modules/tricky_store/\""
"su -c 'rm /data/adb/modules/tricky_store/service.apk; mv /data/local/tmp/service.apk /data/adb/modules/tricky_store/'"
)
}
}