keep itterating

This commit is contained in:
2025-07-19 19:14:01 +10:00
parent 5f6bbc750f
commit 64cfdf35ba
2 changed files with 25 additions and 0 deletions

View File

@@ -33,7 +33,20 @@ jobs:
- name: Windows Build
run: |
New-Item -ItemType Directory -Force -Path "build\windows"
Write-Host "Starting Godot export..."
& "D:\Godot\Godot_v4.4.1-stable_win64.exe" --headless --verbose --export-release "Windows Desktop" "build\windows\PNGTuber-Plus.exe"
Write-Host "Godot exit code: $LASTEXITCODE"
Write-Host "Checking if export file exists..."
if (Test-Path "build\windows\PNGTuber-Plus.exe") {
Write-Host "Export successful! File size: $((Get-Item 'build\windows\PNGTuber-Plus.exe').Length) bytes"
} else {
Write-Host "Export failed - no executable found"
Write-Host "Checking default export location..."
if (Test-Path ".export") {
Get-ChildItem -Path ".export" -Recurse | Select-Object FullName, Length
}
exit 1
}
continue-on-error: false
- name: Check Build Output

12
build-simple.bat Normal file
View File

@@ -0,0 +1,12 @@
@echo off
echo Building PNGTuber Plus for Windows...
if not exist "build\windows" mkdir "build\windows"
echo Running Godot export...
"D:\Godot\Godot_v4.4.1-stable_win64.exe" --headless --verbose --export-release "Windows Desktop" "build\windows\PNGTuber-Plus.exe"
if %ERRORLEVEL% EQU 0 (
echo Build completed successfully!
echo Output: build\windows\PNGTuber-Plus.exe
) else (
echo Build failed with error code %ERRORLEVEL%
)
pause