diff --git a/TeamSpeak.desktop b/TeamSpeak.desktop deleted file mode 100644 index 89d2d26..0000000 --- a/TeamSpeak.desktop +++ /dev/null @@ -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 \ No newline at end of file diff --git a/install-packages.sh b/install-packages.sh index 9d8e02b..53f57c5 100644 --- a/install-packages.sh +++ b/install-packages.sh @@ -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" \ No newline at end of file