testdiff2/SpiriQGC/tools/update_android_manifest_package.sh
2023-12-21 08:03:49 -05:00

8 lines
232 B
Bash

#!/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