mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-13 00:58:35 +00:00
feat(BASH): add support for db_assembler (#30)
This commit is contained in:
12
conf/conf.sh.dist
Normal file
12
conf/conf.sh.dist
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
## CUSTOM SQL - Important file used by the db_assembler.sh
|
||||||
|
## Keep only the required variables (base sql files or updates, depending on the DB)
|
||||||
|
|
||||||
|
|
||||||
|
## BASE SQL
|
||||||
|
|
||||||
|
DB_CHARACTERS_CUSTOM_PATHS+=(
|
||||||
|
"$MOD_ANTICHEAT_ROOT/sql/characters/base/"
|
||||||
|
)
|
||||||
|
|
||||||
10
include.sh
Normal file
10
include.sh
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
## GETS THE CURRENT MODULE ROOT DIRECTORY
|
||||||
|
MOD_ANTICHEAT_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/" && pwd )"
|
||||||
|
|
||||||
|
source "$MOD_ANTICHEAT_ROOT/conf/conf.sh.dist"
|
||||||
|
|
||||||
|
if [ -f "$MOD_ANTICHEAT_ROOT/conf/conf.sh" ]; then
|
||||||
|
source "$MOD_ANTICHEAT_ROOT/conf/conf.sh"
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user