init commit
This commit is contained in:
23
install.sh
Executable file
23
install.sh
Executable file
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Create desktop entry directory if it doesn't exist
|
||||
mkdir -p ~/.local/share/applications
|
||||
|
||||
# Create desktop entry
|
||||
cat > ~/.local/share/applications/playback.desktop << 'EOF'
|
||||
[Desktop Entry]
|
||||
Name=Playback
|
||||
Comment=Audio player with synchronized transcript display
|
||||
Exec=/usr/local/bin/playback %f
|
||||
Icon=audio-x-generic
|
||||
Terminal=true
|
||||
Type=Application
|
||||
Categories=AudioVideo;Audio;Player;
|
||||
MimeType=audio/mpeg;audio/mp3;audio/wav;audio/x-wav;audio/flac;audio/ogg;audio/x-vorbis+ogg;
|
||||
EOF
|
||||
|
||||
# Update desktop database
|
||||
update-desktop-database ~/.local/share/applications 2>/dev/null || true
|
||||
|
||||
echo "Desktop entry installed to ~/.local/share/applications/playback.desktop"
|
||||
echo "Playback is now available in your application menu"
|
||||
Reference in New Issue
Block a user