case "$ACTION" in
post)
if [ -f /var/lib/waydroid/waydroid_base.prop ]; then
echo "Regenerating Waydroid configs..."
waydroid upgrade --offline || :
fi
;;
esac