adding spaces

This commit is contained in:
Mylloon 2021-08-15 18:01:24 +02:00
parent f4b5cdfcba
commit 2aa8243994
2 changed files with 6 additions and 6 deletions

View file

@ -3,7 +3,7 @@ cd src\lavalink
if exist Lavalink.jar (
echo "Lavalink found."
) else (
echo "Downloading Lavalink..."
echo "Downloading Lavalink ..."
call download.bat
)
@ -11,9 +11,9 @@ tasklist /fi "ImageName eq Lavalink.jar" /fo csv 2> NUL | find /I "Lavalink.jar"
if "%ERRORLEVEL%" == "0" (
echo "Lavaling already started."
) else (
echo "Starting Lavalink server..."
echo "Starting Lavalink server ..."
start java -Djdk.tls.client.protocols=TLSv1.3 -Xmx3G -jar Lavalink.jar REM Starting the server in another window
)
cd ..
echo "Starting Discord bot..."
echo "Starting Discord bot ..."
python -u ./main.py

View file

@ -3,7 +3,7 @@ cd src/lavalink
if [ -f "Lavalink.jar" ]; then
echo "Lavalink found."
else {
echo "Downloading Lavalink...";
echo "Downloading Lavalink ...";
chmod u+x download.sh;
./download.sh
} fi
@ -11,11 +11,11 @@ if pgrep -f "Lavalink.jar" > /dev/null
then
echo "Lavaling already started."
else {
echo "Starting Lavalink server...";
echo "Starting Lavalink server ...";
java -Djdk.tls.client.protocols=TLSv1.3 -Xmx3G -jar Lavalink.jar 1> /dev/null & # showing only stderror
} fi
cd ..
echo "Starting Discord bot..."
echo "Starting Discord bot ..."
python3 -u ./main.py
# if you want to kill the java process, do this command: