Skip to content

Commit

Permalink
Play! setup script
Browse files Browse the repository at this point in the history
  • Loading branch information
hadcl4 committed May 10, 2022
1 parent f3253c0 commit 6bd5b3f
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions database/play.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash
FLATPAK_LOCATION=$(command -v flatpak)
if [[ $FLATPAK_LOCATION == "/usr/bin/flatpak" ]]; then
echo "Installing Play!..."
flatpak install org.purei.Play && echo "Install complete."
else
echo "Flatpak is not installed. Please run this setup again after Flatpak is installed."
echo "Will install Flatpak in 5 seconds... Press Ctrl+C to cancel..."
echo "5..."
sleep 1s
echo "4..."
sleep 1s
echo "3..."
sleep 1s
echo "2..."
sleep 1s
echo "1..."
sleep 1s
echo "0"
bash ${HOME}/Thunder/database/flatpak.sh
fi

0 comments on commit 6bd5b3f

Please sign in to comment.