Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To modify the files #19

Open
DumberSoft opened this issue Jan 24, 2024 · 0 comments
Open

To modify the files #19

DumberSoft opened this issue Jan 24, 2024 · 0 comments

Comments

@DumberSoft
Copy link

#!/bin/bash

ubuntu_version=$(lsb_release -rs)

if [[ $ubuntu_version != "18.04" && $ubuntu_version != "20.04" && $ubuntu_version != "22.04" ]]; then
    echo "Error: This script is only supported on Ubuntu 18.04 and 20.04 and 22.04."
    exit 1
fi

echo " /\$$      /\$$ /\$$$$\$$  /\$$$$\$$  /\$$$$\$$  /\$$        /\$$$$\$$  /\$$     /\$$ /\$$$$$$$$ /\$$$$\$$ "
echo "| \$$\$$    /\$$\$$__\$$  |\$$__\$$  |\$$__\$$  |\$$       /\$$__\$$|  \$$   /\$$/| \$$\$$\$$\$$/\$$__\$$"
echo "| \$$\$$\  /\$$$$$$\$$  |\$$\$$  \$$  |\$$  \$$  |\$$      |\$$  \$$\$$\  \$$\$$/ | \$$      |\$$\$$\$$"
echo "| \$$ \$\$$\$$\$$$$\$$\$$  |\$$$$\$$\$$  |\$$  |\$$      |\$$$$\$$\$$\  \$$\$/  | \$$$$   |\$$$$\$$/"
echo "| \$$  \$ \$\$$\$$\$$\$$/\$$  |\$$____/ | \$$      |\$$__\$$\$$\$$\  \$$\$/   | \$$__/   |\$$__\$$"
echo "| \$$\  \$ |\$$|\$$      | \$$  |\$$      | \$$      |\$$  |\$$|\$$    |\$$    | \$$      |\$$  \$$\$$"
echo "| \$$ \/  |\$$|\$$      | \$$$$\$$\$$  | \$$      | \$$$$\$$\$$    |\$$    | \$$$$\$\$$\$$|\$$  |\$$"
echo "|__/     |__/|__/      |_______/ |__/      |________/|__/  |__/    |__/    |________/|__/  |__/"

sudo apt-get update
sudo apt-get install -y software-properties-common
sudo add-apt-repository ppa:linuxuprising/java
sudo apt-get update
sudo apt-get install -y oracle-java17-installer

wget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz
tar -xf ffmpeg-release-amd64-static.tar.xz
cd ffmpeg-6.1-amd64-static/
sudo mv ffmpeg /usr/bin/
sudo mv ffprobe /usr/bin/
cd ..

echo "Menu:"
echo "1. MPD Player V2"
echo "2. Lancar MOD"
echo "3. Zeus MPD Player"

read -p "Enter your choice: " choice

case $choice in
    1)
        cd /home
        wget https://github.com/DRM-Scripts/MPD-Player/raw/master/mpd_player2.deb
        sudo dpkg -i mpd_player2.deb
        ;;
    2)
        cd /home
        wget https://github.com/DRM-Scripts/MPD-Player/raw/master/lancar.deb
        sudo dpkg -i lancar.deb
        ;;
    3)
        cd /home
        wget https://github.com/DRM-Scripts/MPD-Player/raw/master/zeus.deb
        sudo dpkg -i zeus.deb
        ;;
    *)
        echo "Invalid choice"
        ;;
esac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant