#!/usr/bin/bash
echo "Closing linphone-git.AppImage ..."
pkill AppRun.wrapped
killall linphone-appimage-git
echo "wait a few seconds to terminate linphone-git.AppImage ..."
sleep 5s
echo "Download Linphone Git AppImage file to /opt/appimages/"
sudo wget -O /opt/appimages/linphone-git.AppImage https://download.opensuse.org/repositories/home:/kimi:/linphone-desktop/AppImage/linphone-desktop-git-latest-x86_64.AppImage
echo
echo "Done."
exit 0
