dfhack/package/darwin/dfhack-run

9 lines
153 B
Bash

#!/bin/sh
DF_DIR=$(dirname "$0")
cd "${DF_DIR}"
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:"./stonesense/deplibs":"./hack"
exec hack/dfhack-run "$@"