Added init.sh script

main
Sara 2024-03-07 20:48:46 +01:00
parent 09035af13b
commit 8e0ba99e6d
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