From 1ded3ab244013bee1370875a178a8c4bf0e0805d Mon Sep 17 00:00:00 2001 From: Georg Hagen Date: Sun, 7 Dec 2025 21:50:11 +0100 Subject: [PATCH] Don't run bin2c discovery on macos --- Scripts/CompileShaders.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Scripts/CompileShaders.sh b/Scripts/CompileShaders.sh index ae555e5..f99ef32 100755 --- a/Scripts/CompileShaders.sh +++ b/Scripts/CompileShaders.sh @@ -15,9 +15,11 @@ SHADER_PATH="$2" UNIQUE_ENTRY_NAME="$3" BIN2C_EXE="${4:-bin2c}" -if [ -z "$4" ]; then - if [ -e "$HOME/bin/bin2c" ]; then +if [[ "$(uname)" != "Darwin" ]]; then + if [ -z "$4" ]; then + if [ -e "$HOME/bin/bin2c" ]; then BIN2C_EXE="$HOME/bin/bin2c" + fi fi fi