Initial commit
This commit is contained in:
12
start.sh
Executable file
12
start.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f /config.txt ]; then
|
||||
echo "configuration file found"
|
||||
mv /config.txt .
|
||||
fi
|
||||
|
||||
if [ ! -f JMusicBot-${VERSION}.jar ]; then
|
||||
wget https://github.com/jagrosh/MusicBot/releases/download/${VERSION}/JMusicBot-${VERSION}.jar
|
||||
fi
|
||||
|
||||
java -Dnogui=true -jar JMusicBot-${VERSION}.jar
|
||||
Reference in New Issue
Block a user