forked from Sara.Sync/godot-cpp-template
feat: added project.godot update as part of init.sh
parent
fd0913dac2
commit
6881f8e84a
|
@ -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"
|
||||
|
|
2
init.sh
2
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
|
||||
|
|
Loading…
Reference in New Issue