feat: added project.godot update as part of init.sh
This commit is contained in:
		
							parent
							
								
									f6db16a059
								
							
						
					
					
						commit
						6ca685342f
					
				| 
						 | 
					@ -10,6 +10,6 @@ config_version=5
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[application]
 | 
					[application]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
config/name="godot cpp template"
 | 
					config/name="EXAMPLE"
 | 
				
			||||||
config/features=PackedStringArray("4.2", "Forward Plus")
 | 
					config/features=PackedStringArray("4.2", "Forward Plus")
 | 
				
			||||||
config/icon="res://icon.svg"
 | 
					config/icon="res://icon.svg"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										2
									
								
								init.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								init.sh
									
									
									
									
									
								
							| 
						 | 
					@ -1,5 +1,5 @@
 | 
				
			||||||
#! /bin/sh
 | 
					#! /bin/sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
git submodule update --init --recursive
 | 
					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
 | 
					mv ./godot/bin/EXAMPLE.gdextension ./godot/bin/$1.gdextension
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue