Added init.sh script

main
Sara 2024-03-07 20:48:46 +01:00
parent d3358de371
commit 154311af1b
1 changed files with 5 additions and 0 deletions

5
init.sh Executable file
View File

@ -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