Update 0_variables.sh

This commit is contained in:
bash
2024-08-14 20:07:38 +02:00
committed by GitHub
parent 97bc024fb1
commit 9200daab21

View File

@@ -6,15 +6,6 @@
SERVER_ROOT="${ROOT_DIR}/_server/azerothcore" SERVER_ROOT="${ROOT_DIR}/_server/azerothcore"
DATAPATH="${SERVER_ROOT}/env/dist/bin" DATAPATH="${SERVER_ROOT}/env/dist/bin"
AC_WOTLK_REPO="https://github.com/liyunfan1223/azerothcore-wotlk.git"
AC_WOTLK_REPO_BRANCH="Playerbot"
AC_MODE_PLAYER_BOTS_REPO="https://github.com/liyunfan1223/mod-playerbots.git"
AC_MODE_PLAYER_BOTS_REPO_BRANCH="master"
AC_MODE_AHBOT_REPO="https://github.com/azerothcore/mod-ah-bot.git"
AC_MODE_AHBOT_REPO_BRANCH="master"
AUTHSERVER_SESSION="auth-session" AUTHSERVER_SESSION="auth-session"
WORLDSERVER_SESSION="world-session" WORLDSERVER_SESSION="world-session"
@@ -23,11 +14,13 @@ MYSQL_USER="acore"
MYSQL_PASSWORD="acore" MYSQL_PASSWORD="acore"
MYSQL_DATABASE="acore_auth" MYSQL_DATABASE="acore_auth"
########################################################################################## ##########################################################################################
# add chmod rights # add chmod rights
########################################################################################## ##########################################################################################
sudo chmod +x ${ROOT_DIR}/script/*.sh sudo chmod +x ${ROOT_DIR}/script/*.sh
########################################################################################## ##########################################################################################
# add ~/.bash_wow to ~/.bashrc if not exist # add ~/.bash_wow to ~/.bashrc if not exist
########################################################################################## ##########################################################################################
@@ -41,6 +34,7 @@ else
echo "fi" >> ~/.bashrc echo "fi" >> ~/.bashrc
fi fi
########################################################################################## ##########################################################################################
# add variables to ~/.bash_wow # add variables to ~/.bash_wow
########################################################################################## ##########################################################################################
@@ -72,6 +66,7 @@ echo "export REALM_NAME=${REALM_NAME}" >> ~/.bash_wow
echo "export AH_BOT_MIN_ITEMS=${AH_BOT_MIN_ITEMS}" >> ~/.bash_wow echo "export AH_BOT_MIN_ITEMS=${AH_BOT_MIN_ITEMS}" >> ~/.bash_wow
echo "export AH_BOT_MAX_ITEMS=${AH_BOT_MAX_ITEMS}" >> ~/.bash_wow echo "export AH_BOT_MAX_ITEMS=${AH_BOT_MAX_ITEMS}" >> ~/.bash_wow
########################################################################################## ##########################################################################################
# add alias to ~/.bash_wow # add alias to ~/.bash_wow
########################################################################################## ##########################################################################################