#!/usr/bin/bash
echo "Closing linphone.AppImage ..."
pkill AppRun.wrapped
echo "wait a few seconds to terminate linphone.AppImage ..."
sleep 5s
echo "Download Linphone-Desktop AppImage file to /opt/appimages/"
sudo wget -O /opt/appimages/linphone.AppImage https://linphone.org/releases/linux/latest_app
echo
echo "Done."
exit 0
