feat: added project.godot update as part of init.sh

main
Sara 2024-05-28 11:41:16 +02:00
parent fd0913dac2
commit 6881f8e84a
2 changed files with 2 additions and 2 deletions

View File

@ -10,6 +10,6 @@ config_version=5
[application]
config/name="godot cpp template"
config/name="EXAMPLE"
config/features=PackedStringArray("4.2", "Forward Plus")
config/icon="res://icon.svg"

View File

@ -1,5 +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
sed -i -e "s/EXAMPLE/$1/g" ./src/register_types.cpp ./SConstruct ./godot/bin/EXAMPLE.gdextension ./godot/project.godot
mv ./godot/bin/EXAMPLE.gdextension ./godot/bin/$1.gdextension