Enhance backtunnel-share with improved desktop integration, port collision checks, and pre-flight validations
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user