Enhance backtunnel-share with improved desktop integration, port collision checks, and pre-flight validations

This commit is contained in:
2025-09-14 14:11:36 +02:00
parent 07dbd79aa2
commit b1dd9bfc83
6 changed files with 61 additions and 3 deletions

View File

@@ -44,4 +44,12 @@ if [[ -d /usr/share/applications ]]; then
sudo install -m 0644 desktop/backtunnel.desktop /usr/share/applications/backtunnel.desktop || true
fi
# Refresh desktop DB and KDE service cache (best-effort)
command -v update-desktop-database >/dev/null 2>&1 && sudo update-desktop-database -q || true
if command -v kbuildsycoca6 >/dev/null 2>&1; then
kbuildsycoca6 --noincremental >/dev/null 2>&1 || true
elif command -v kbuildsycoca5 >/dev/null 2>&1; then
kbuildsycoca5 --noincremental >/dev/null 2>&1 || true
fi
echo "✅ BackTunnel installed. You may need to restart your shell and Dolphin."