From 154311af1bb524d5967be4be3fca05417ba3dd79 Mon Sep 17 00:00:00 2001 From: Sara Date: Thu, 7 Mar 2024 20:48:46 +0100 Subject: [PATCH] Added init.sh script --- init.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 init.sh diff --git a/init.sh b/init.sh new file mode 100755 index 0000000..eb35f18 --- /dev/null +++ b/init.sh @@ -0,0 +1,5 @@ +#! /bin/sh + +git submodule update --init --recursive +sed -i -e "s/EXAMPLE/$1/g" ./src/register_types.cpp ./SConstruct ./godot/bin/EXAMPLE.gdextension +mv ./godot/bin/EXAMPLE.gdextension ./godot/bin/$1.gdextension