Build android dotnet

This commit is contained in:
2025-03-23 22:48:13 -05:00
commit 41fd03c96c
13 changed files with 330 additions and 0 deletions

26
tools/entrypoint.sh Executable file
View File

@@ -0,0 +1,26 @@
#!/bin/bash
function checkbin() {
type -P su-exec
}
function su_mt_user() {
su android -c '"$0" "$@"' -- "$@"
}
chown android:android /opt/android-sdk-linux
printenv
if checkbin; then
exec su-exec android:android /opt/tools/android-sdk-update.sh "$@"
else
su_mt_user /opt/tools/android-sdk-update.sh ${1}
fi