Handle zygote death

This commit is contained in:
Nullptr
2023-02-15 13:15:35 +08:00
parent 5c00071fed
commit baf444228d
9 changed files with 89 additions and 61 deletions

View File

@@ -20,6 +20,7 @@ cargo {
val isDebug = gradle.startParameter.taskNames.any { it.toLowerCase().contains("debug") }
profile = if (isDebug) "debug" else "release"
exec = { spec, _ ->
spec.environment("ANDROID_NDK_HOME", android.ndkDirectory.path)
spec.environment("VERSION_CODE", verCode)
spec.environment("VERSION_NAME", verName)
}