@ -8,6 +8,8 @@ function error {
}
if command -v webcord >/dev/null ;then
killall webcord &>/dev/null && echo "Closing Discord before uninstalling..."
"${DIRECTORY}/api" apt_lock_wait
sudo apt purge -y webcord || error "APT failed to purge webcord!"
fi