Wire-G/uninstaller1.0.0

36 lines
1.5 KiB
Plaintext
Raw Normal View History

2023-10-28 21:38:26 +02:00
#!/bin/bash
########################################################
########################################################
# Wire-G App for simple management a Wireguard Tunnel ##
# Author: Désiré Werner Menrath ##
# Email: polunga40@unity-mail.de ##
# Translate German to English with LibreTranslate ##
# Translatefiles edit with Poedit ##
# Use without warranty! ##
########################################################
########################################################
2023-10-28 21:38:26 +02:00
2023-10-28 22:45:53 +02:00
cd || exit
2023-11-14 21:20:42 +01:00
rm -f /home/"$USER"/.icons/wg-active.png wg-stop.png wg-vpn.png wg-import.png wg-trash.png wg-info.png wg-vpn-info.png
2023-10-28 21:38:26 +02:00
wait;
2023-11-20 12:32:28 +01:00
rm -r /home/"$USER"/.config/wg_nmcli
rm -r /home/"$USER"/.local/share/wg_nmcli
2023-11-19 20:44:29 +01:00
if [ -d /home/$USER/.config/autostart ] # for GNOME, XFCE, KDE, Budgie
then
rm /home/$USER/.config/autostart/wgonstart.desktop > /dev/null 2>&1
elif [ -d /home/$USER/.config/lxsession/Lubuntu/autostart ] # for LXDE
then
rm /home/$USER/.config/lxsession/Lubuntu/autostart/wgonstart.desktop > /dev/null 2>&1
fi
2023-10-28 21:38:26 +02:00
wait;
2023-11-19 20:55:57 +01:00
sudo rm /usr/share/icons/Arch-Symbole/wg-vpn.png ; sudo rm /sbin/wire_g ; sudo rm /sbin/wg_stop ; sudo rm /sbin/wg_on_start
2023-10-28 21:38:26 +02:00
wait;
2023-11-01 21:05:18 +01:00
sudo rm /usr/share/applications/Wire-G.desktop ; sudo rm /usr/share/locale/de/LC_MESSAGES/wire-g.mo
2023-10-28 21:38:26 +02:00
echo
echo "deinstallation erfolgreich!"
2023-10-28 22:45:53 +02:00
echo
2023-10-28 21:38:26 +02:00
read -n 1 -s -r -p "Zum Fenster schließen eine Taste drücken"
clear