Files
workinf_Blender_Wasm/blender-5.2.0/release/darwin/scripts/blender-system-info.sh.in
2026-08-12 04:47:48 -04:00

17 lines
583 B
Bash
Executable File

#!/bin/sh
# Directory to this SH file.
BASE_DIR=$(dirname "$0")
PYTHON_BIN="$BASE_DIR/@BLENDER_VERSION@/python/bin/@PYTHON_EXECUTABLE_NAME_ONLY@"
SYSTEM_INFO_STARTUP_PY="$BASE_DIR/@BLENDER_VERSION@/scripts/modules/_bpy_internal/system_info/url_prefill_startup.py"
if test -f "$PYTHON_BIN"; then
exec "$PYTHON_BIN" -I "$SYSTEM_INFO_STARTUP_PY"
fi
echo "ERROR: Failed to find Python executable at: $PYTHON_BIN"
echo "Possible causes include:"
echo "- Your Blender installation is corrupt or missing python."
echo "- The location or name the python executable has changed."
exit 1