From 1103daee7df4b48aa8915d9c480a436612869e9a Mon Sep 17 00:00:00 2001 From: Teddy Middleton-Smith Date: Sat, 7 Dec 2024 16:10:39 +0000 Subject: [PATCH] Synchronise with windows server settings. --- run.bat | 14 ++++++-------- run.sh | 2 -- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/run.bat b/run.bat index 77a20d3..12bf60e 100644 --- a/run.bat +++ b/run.bat @@ -1,8 +1,6 @@ -python C:\Users\edwar\OneDrive\Documents\Programming\Python Scripts\discord_bot_minecraft_bois\discord_bot_minecraft_bois\tests\test_message_server_start.py -REM Forge requires a configured set of both JVM and program arguments. -REM Add custom JVM arguments to the user_jvm_args.txt -REM Add custom program arguments {such as nogui} to this file in the next line before the %* or -REM pass them to this script directly -java @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.18.2-40.2.4/win_args.txt %* -python C:\Users\edwar\OneDrive\Documents\Programming\Python Scripts\discord_bot_minecraft_bois\discord_bot_minecraft_bois\tests\test_message_server_stop.py -pause \ No newline at end of file +REM Forge requires a configured set of both JVM and program arguments. +REM Add custom JVM arguments to the user_jvm_args.txt +REM Add custom program arguments {such as nogui} to this file in the next line before the %* or +REM pass them to this script directly +java @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.18.2-40.2.4/win_args.txt %* +pause diff --git a/run.sh b/run.sh index 968391e..9d2baf3 100755 --- a/run.sh +++ b/run.sh @@ -3,6 +3,4 @@ # Add custom JVM arguments to the user_jvm_args.txt # Add custom program arguments {such as nogui} to this file in the next line before the "$@" or # pass them to this script directly -python3 '/home/teddy/Documents/Programming/python/discord_bot_minecraft_bois/tests/test_message_server_start.py' java @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.18.2-40.2.4/unix_args.txt "$@" -python3 '/home/teddy/Documents/Programming/python/discord_bot_minecraft_bois/tests/test_message_server_stop.py'