Skip to content

Instantly share code, notes, and snippets.

@twocity
Last active September 17, 2021 09:43
Show Gist options
  • Save twocity/a9546d8b63224c35924502c4ce7d0b02 to your computer and use it in GitHub Desktop.
Save twocity/a9546d8b63224c35924502c4ce7d0b02 to your computer and use it in GitHub Desktop.
miao~
android.applicationVariants.all { variant ->
if (variant.install != null) {
variant.install.doLast {
exec {
commandLine "afplay", "your_sound.mp3"
}
}
}
}
@Null-Ouwenjie
Copy link

666

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment