From 6ca685342f36df6607fad07e24231a9c3e09c295 Mon Sep 17 00:00:00 2001 From: Sara Date: Tue, 28 May 2024 11:41:16 +0200 Subject: [PATCH] feat: added project.godot update as part of init.sh --- godot/project.godot | 2 +- init.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/godot/project.godot b/godot/project.godot index 3bf2c7b..b5d757f 100644 --- a/godot/project.godot +++ b/godot/project.godot @@ -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" diff --git a/init.sh b/init.sh index eb35f18..7b77970 100755 --- a/init.sh +++ b/init.sh @@ -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