2023-10-28 21:38:26 +02:00
|
|
|
#!/bin/bash
|
2023-11-03 21:16:03 +01:00
|
|
|
########################################################
|
|
|
|
########################################################
|
|
|
|
# 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
|
|
|
|
|
|
|
a_user=$(whoami)
|
2023-10-28 22:45:53 +02:00
|
|
|
cd || exit
|
2023-11-04 10:19:21 +01:00
|
|
|
rm -f /home/"$a_user"/.icons/wg-active.png wg-stop.png wg-vpn.png wg-import.png wg-trash.png wg-info.png
|
2023-10-28 21:38:26 +02:00
|
|
|
wait;
|
2023-11-04 08:00:19 +01:00
|
|
|
rm -r /home/"$a_user"/.config/wg_nmcli
|
2023-10-28 21:38:26 +02:00
|
|
|
wait;
|
2023-11-04 10:19:21 +01:00
|
|
|
sudo rm /usr/share/icons/Arch-Symbole/wg-vpn.png
|
2023-10-28 21:38:26 +02:00
|
|
|
wait;
|
|
|
|
sudo rm /sbin/wire_g ; sudo rm /sbin/wg_stop
|
|
|
|
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
|
|
|
|
|