Fix launch-dedicated server check.
This commit is contained in:
parent
cc219ccf31
commit
118680a58d
@ -57,7 +57,7 @@ SHARE_ANONYMISED_IPS="${ShareAnonymizedIPs:-"True"}"
|
|||||||
SUPPORT_DIR="${SupportDir:-""}"
|
SUPPORT_DIR="${SupportDir:-""}"
|
||||||
|
|
||||||
cd "${TEMPLATE_ROOT}"
|
cd "${TEMPLATE_ROOT}"
|
||||||
if [ ! -f "${ENGINE_DIRECTORY}/OpenRA.Game.exe" ] || [ "$(cat "${ENGINE_DIRECTORY}/VERSION")" != "${ENGINE_VERSION}" ]; then
|
if [ ! -f "${ENGINE_DIRECTORY}/bin/OpenRA.Server.exe" ] || [ "$(cat "${ENGINE_DIRECTORY}/VERSION")" != "${ENGINE_VERSION}" ]; then
|
||||||
echo "Required engine files not found."
|
echo "Required engine files not found."
|
||||||
echo "Run \`make\` in the mod directory to fetch and build the required files, then try again.";
|
echo "Run \`make\` in the mod directory to fetch and build the required files, then try again.";
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user