Discord: uninstall: close running webcord processes

pull/915/head
Botspot 3 years ago
parent 16ede43e69
commit 9520d797eb

@ -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

Loading…
Cancel
Save