Remove TeamSpeak desktop entry installation from the package script

This commit is contained in:
2025-10-25 15:51:11 +02:00
parent 6390136f23
commit fe3c8eb01a
2 changed files with 3 additions and 19 deletions

View File

@@ -1,15 +0,0 @@
[Desktop Entry]
Version=1.0
Type=Application
Name=TeamSpeak 6
GenericName=Voice Chat
Comment=TeamSpeak 6 client
Exec=/opt/teamspeak/TeamSpeak %U
TryExec=/opt/teamspeak/TeamSpeak
Icon=/opt/teamspeak/logo-256.png
Terminal=false
Categories=Network;AudioVideo;Voice;
StartupWMClass=TeamSpeak
MimeType=application/x-teamspeak;
Keywords=voice;chat;voip;
StartupNotify=true

View File

@@ -45,9 +45,8 @@ echo "[INFO] Setting executable bit and ownership..."
sudo chmod +x /opt/teamspeak/TeamSpeak
sudo chown -R $(id -u):$(id -g) /opt/teamspeak
echo "[INFO] Installing desktop entry..."
mkdir -p "$HOME/.local/share/applications"
curl -L --fail -sS -o "$HOME/.local/share/applications/TeamSpeak.desktop" "https://raw.githubusercontent.com/DerTyp7/.dotfiles/refs/heads/master/TeamSpeak.desktop"
chmod 655 "$HOME/.local/share/applications/TeamSpeak.desktop"
/opt/teamspeak/TeamSpeak > /dev/null 2>&1 &
sleep 2
pkill TeamSpeak
echo "[INFO] TeamSpeak client installed to /opt/teamspeak"