adding spaces
This commit is contained in:
parent
f4b5cdfcba
commit
2aa8243994
2 changed files with 6 additions and 6 deletions
|
@ -3,7 +3,7 @@ cd src\lavalink
|
||||||
if exist Lavalink.jar (
|
if exist Lavalink.jar (
|
||||||
echo "Lavalink found."
|
echo "Lavalink found."
|
||||||
) else (
|
) else (
|
||||||
echo "Downloading Lavalink..."
|
echo "Downloading Lavalink ..."
|
||||||
call download.bat
|
call download.bat
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -11,9 +11,9 @@ tasklist /fi "ImageName eq Lavalink.jar" /fo csv 2> NUL | find /I "Lavalink.jar"
|
||||||
if "%ERRORLEVEL%" == "0" (
|
if "%ERRORLEVEL%" == "0" (
|
||||||
echo "Lavaling already started."
|
echo "Lavaling already started."
|
||||||
) else (
|
) 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
|
start java -Djdk.tls.client.protocols=TLSv1.3 -Xmx3G -jar Lavalink.jar REM Starting the server in another window
|
||||||
)
|
)
|
||||||
cd ..
|
cd ..
|
||||||
echo "Starting Discord bot..."
|
echo "Starting Discord bot ..."
|
||||||
python -u ./main.py
|
python -u ./main.py
|
||||||
|
|
6
start.sh
6
start.sh
|
@ -3,7 +3,7 @@ cd src/lavalink
|
||||||
if [ -f "Lavalink.jar" ]; then
|
if [ -f "Lavalink.jar" ]; then
|
||||||
echo "Lavalink found."
|
echo "Lavalink found."
|
||||||
else {
|
else {
|
||||||
echo "Downloading Lavalink...";
|
echo "Downloading Lavalink ...";
|
||||||
chmod u+x download.sh;
|
chmod u+x download.sh;
|
||||||
./download.sh
|
./download.sh
|
||||||
} fi
|
} fi
|
||||||
|
@ -11,11 +11,11 @@ if pgrep -f "Lavalink.jar" > /dev/null
|
||||||
then
|
then
|
||||||
echo "Lavaling already started."
|
echo "Lavaling already started."
|
||||||
else {
|
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
|
java -Djdk.tls.client.protocols=TLSv1.3 -Xmx3G -jar Lavalink.jar 1> /dev/null & # showing only stderror
|
||||||
} fi
|
} fi
|
||||||
cd ..
|
cd ..
|
||||||
echo "Starting Discord bot..."
|
echo "Starting Discord bot ..."
|
||||||
python3 -u ./main.py
|
python3 -u ./main.py
|
||||||
|
|
||||||
# if you want to kill the java process, do this command:
|
# if you want to kill the java process, do this command:
|
||||||
|
|
Reference in a new issue