testdiff2/SpiriQGC/tools/update_android_manifest_package.sh

8 lines
232 B
Bash
Raw Normal View History

2023-12-06 13:51:14 -04:00
#!/usr/bin/env bash
MANIFEST_FILE=android/AndroidManifest.xml
echo "Adjusting package name for daily build"
QGC_PKG_NAME="org.mavlink.qgroundcontrolbeta"
sed -i -e 's/package *= *"[^"]*"/package="'$QGC_PKG_NAME'"/' $MANIFEST_FILE