From 39147ac049b126fd73ea1340fadf97d659648de4 Mon Sep 17 00:00:00 2001 From: mkrsym1 Date: Sun, 25 Jun 2023 01:47:32 +0300 Subject: [PATCH] Show a warning if someone tries to run build.sh --- build.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build.sh b/build.sh index 2126b4a..260d93b 100644 --- a/build.sh +++ b/build.sh @@ -1,4 +1,11 @@ #!/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"