feat: unified navigation

fix: install script copying build binary
chore: updated readme
This commit is contained in:
2026-01-25 21:49:34 -06:00
parent 1bbfc332d8
commit 6165a10481
10 changed files with 273 additions and 209 deletions

View File

@@ -1,5 +1,18 @@
#!/bin/bash
set -e
# Check if binary exists
if [ ! -f "build/playback" ]; then
echo "Error: build/playback not found. Run 'make build' first."
exit 1
fi
# Install binary to /usr/local/bin
echo "Installing binary to /usr/local/bin/playback..."
sudo cp build/playback /usr/local/bin/playback
sudo chmod +x /usr/local/bin/playback
# Create desktop entry directory if it doesn't exist
mkdir -p ~/.local/share/applications
@@ -19,5 +32,6 @@ EOF
# Update desktop database
update-desktop-database ~/.local/share/applications 2>/dev/null || true
echo "Binary installed to /usr/local/bin/playback"
echo "Desktop entry installed to ~/.local/share/applications/playback.desktop"
echo "Playback is now available in your application menu"
echo "Playback is now available in your application menu and via 'playback' command"