feat : edit build
This commit is contained in:
@@ -28,7 +28,7 @@ jobs:
|
|||||||
- name: Setup Godot
|
- name: Setup Godot
|
||||||
uses: chickensoft-games/setup-godot@v1
|
uses: chickensoft-games/setup-godot@v1
|
||||||
with:
|
with:
|
||||||
version: '4.2.1'
|
version: '4.6'
|
||||||
use-dotnet: false
|
use-dotnet: false
|
||||||
|
|
||||||
- name: Run Build Patch Script
|
- name: Run Build Patch Script
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env -S godot --headless -s
|
#!/usr/bin/env -S godot --headless -s
|
||||||
extends SceneTree
|
extends MainLoop
|
||||||
|
|
||||||
func _init():
|
func _initialize():
|
||||||
print("--- Starting Automated Patch Build ---")
|
print("--- Starting Automated Patch Build ---")
|
||||||
|
|
||||||
var output_file = "patch.pck"
|
var output_file = "patch.pck"
|
||||||
@@ -51,4 +51,5 @@ func _init():
|
|||||||
pck_packer.flush(true)
|
pck_packer.flush(true)
|
||||||
print("--- Patch Build Complete! Packed %d files into %s ---" % [count + 1, output_file])
|
print("--- Patch Build Complete! Packed %d files into %s ---" % [count + 1, output_file])
|
||||||
|
|
||||||
quit(0)
|
func _process(_delta: float) -> bool:
|
||||||
|
return true # True tells Godot to gracefully shut down the engine now!
|
||||||
|
|||||||
Reference in New Issue
Block a user