From d2de029c024309b0ac2429373cc8ef2e56f880e0 Mon Sep 17 00:00:00 2001 From: Azurethi Date: Wed, 26 Aug 2020 11:42:51 +0100 Subject: Fixed windows hack in Compile.sh (#4834) the exit command causes the entire shell to close before the user can read the message. Clear added to get rid of console spam from not windows cmds --- compile.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'compile.sh') diff --git a/compile.sh b/compile.sh index f8b10c7ac..2ab5048fc 100755 --- a/compile.sh +++ b/compile.sh @@ -516,9 +516,10 @@ exit 0 # Called via hack in line 2. :windows_detected @echo off +cls echo This script is not available for Windows yet, sorry. echo You can still download the Windows binaries from: https://cuberite.org/ echo You can also manually compile for Windows. See: https://github.com/cuberite/cuberite rem windows_exit -exit +goto :EOF } -- cgit v1.2.3