Show a warning if someone tries to run build.sh

This commit is contained in:
mkrsym1 2023-06-25 01:47:32 +03:00
parent 9a1405c828
commit 39147ac049

View File

@ -1,4 +1,11 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -e
if ! [ "x$1" = "xdo" ]; then
echo "A part of the source code is witheld (game_payload/src/tp6.c) to make abuse more difficult. Please download a binary release"
exit
fi
shift
strip="x86_64-w64-mingw32-strip" strip="x86_64-w64-mingw32-strip"