fixing my mistakes (aka TheNoim is smarter than me)

This commit is contained in:
Jack Kawell 2021-12-07 23:44:37 -07:00
parent 59f053433c
commit a38765d02d
2 changed files with 9 additions and 2 deletions

View File

@ -15,7 +15,7 @@ services:
networks: networks:
- darkflame - darkflame
ports: ports:
- 3306:3306 - 3306:3306 # (optional) ports only exposed so that DB management tools can connect
darkflame: darkflame:
container_name: DarkFlameServer container_name: DarkFlameServer

View File

@ -66,9 +66,16 @@ function symlink_client_files() {
ln -s /client/client/res/macros/ /app/res/macros ln -s /client/client/res/macros/ /app/res/macros
ln -s /client/client/res/BrickModels/ /app/res/BrickModels ln -s /client/client/res/BrickModels/ /app/res/BrickModels
ln -s /client/client/res/chatplus_en_us.txt /app/res/chatplus_en_us.txt ln -s /client/client/res/chatplus_en_us.txt /app/res/chatplus_en_us.txt
ln -s /client/client/res/maps/ /app/res/maps
ln -s /client/client/res/names/ /app/res/names ln -s /client/client/res/names/ /app/res/names
ln -s /client/client/locale/locale.xml /app/locale/locale.xml ln -s /client/client/locale/locale.xml /app/locale/locale.xml
# need to iterate over entries in maps due to maps already being a directory with navmeshes/ in it
(
cd /client/client/res/maps
readarray -d '' entries < <(printf '%s\0' * | sort -zV)
for entry in "${entries[@]}"; do
ln -s /client/client/res/maps/$entry /app/res/maps/
done
)
} }
function fdb_to_sqlite() { function fdb_to_sqlite() {