feat : edit build

This commit is contained in:
2026-04-22 04:25:21 +08:00
parent c8e5a45529
commit 39ec3cc6e8
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -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
+4 -3
View File
@@ -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!