diff --git a/tools/mkdist.py b/tools/mkdist.py index 4fe7add..b6ecb2e 100644 --- a/tools/mkdist.py +++ b/tools/mkdist.py @@ -55,6 +55,15 @@ def main(): if not os.path.exists(p): sys.exit("MISSING: %s -- build/refresh it first" % p) + # Steam build (EXPERIMENTAL): included when present -- play_steam.bat + # hosts/joins internet sessions through the Steam lobby (needs the Steam + # client running; steam_api.dll ships next to the exe). + if os.path.exists("build-steam/Release/btl4.exe"): + exes.append("build-steam/Release/btl4.exe") + bats.append("players/play_steam.bat") + else: + print(" (no build-steam -- play_steam.bat left out)") + # Runtime DLLs living next to each exe (OpenAL32.dll etc.) -- the exe # fails to load without them (caught by the clean-extract boot test). for exe in list(exes):