mirror of
https://github.com/godotengine/godot-build-scripts.git
synced 2026-01-04 02:09:44 +03:00
Merge pull request #105 from godotengine/android-picoos-editor
Add support for Android editor builds for PicoOS devices
This commit is contained in:
@@ -40,6 +40,8 @@ if [ "${CLASSICAL}" == "1" ]; then
|
||||
./gradlew generateGodotEditor
|
||||
# Generate the Android editor for HorizonOS devices.
|
||||
./gradlew generateGodotHorizonOSEditor
|
||||
# Generate the Android editor for PicoOS devices.
|
||||
./gradlew generateGodotPicoOSEditor
|
||||
popd
|
||||
|
||||
mkdir -p /root/out/tools
|
||||
@@ -47,13 +49,15 @@ if [ "${CLASSICAL}" == "1" ]; then
|
||||
if [ "$store_release" == "yes" ]; then
|
||||
cp bin/android_editor_builds/android_editor-android-release.apk /root/out/tools/android_editor.apk
|
||||
cp bin/android_editor_builds/android_editor-android-release.aab /root/out/tools/android_editor.aab
|
||||
# For the HorizonOS build, we only copy the apk.
|
||||
# For the HorizonOS and PicoOS builds, we only copy the apk.
|
||||
cp bin/android_editor_builds/android_editor-horizonos-release.apk /root/out/tools/android_editor_horizonos.apk
|
||||
cp bin/android_editor_builds/android_editor-picoos-release.apk /root/out/tools/android_editor_picoos.apk
|
||||
else
|
||||
cp bin/android_editor_builds/android_editor-android-debug.apk /root/out/tools/android_editor.apk
|
||||
cp bin/android_editor_builds/android_editor-android-debug.aab /root/out/tools/android_editor.aab
|
||||
# For the HorizonOS build, we only copy the apk.
|
||||
# For the HorizonOS and PicoOS build, we only copy the apk.
|
||||
cp bin/android_editor_builds/android_editor-horizonos-debug.apk /root/out/tools/android_editor_horizonos.apk
|
||||
cp bin/android_editor_builds/android_editor-picoos-debug.apk /root/out/tools/android_editor_picoos.apk
|
||||
fi
|
||||
|
||||
# Restart from a clean tarball, as we'll copy all the contents
|
||||
|
||||
@@ -331,6 +331,8 @@ if [ "${build_classical}" == "1" ]; then
|
||||
cp out/android/tools/android_editor.apk ${reldir}/${binname}
|
||||
binname="${godot_basename}_android_editor_horizonos.apk"
|
||||
cp out/android/tools/android_editor_horizonos.apk ${reldir}/${binname}
|
||||
binname="${godot_basename}_android_editor_picoos.apk"
|
||||
cp out/android/tools/android_editor_picoos.apk ${reldir}/${binname}
|
||||
binname="${godot_basename}_android_editor.aab"
|
||||
cp out/android/tools/android_editor.aab ${reldir}/${binname}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user