18 lines
561 B
Bash
18 lines
561 B
Bash
#!/bin/bash
|
|
# Railway setup script for system dependencies
|
|
|
|
set -e
|
|
|
|
echo "Installing songsee..."
|
|
# Download songsee binary for Linux (Railway uses Linux containers)
|
|
SONGSEE_VERSION="0.1.0" # Adjust version as needed
|
|
curl -L "https://github.com/steipete/songsee/releases/download/v${SONGSEE_VERSION}/songsee-linux-x64" -o /usr/local/bin/songsee
|
|
chmod +x /usr/local/bin/songsee
|
|
|
|
echo "Verifying installations..."
|
|
ffmpeg -version
|
|
yt-dlp --version
|
|
songsee --version || echo "songsee installed but version check failed (ok if binary works)"
|
|
|
|
echo "Setup complete!"
|