mirror of
https://github.com/litruv/PNGTuber-Plus.git
synced 2026-07-24 10:36:01 +10:00
keep itterating
This commit is contained in:
13
.github/workflows/build-windows.yml
vendored
13
.github/workflows/build-windows.yml
vendored
@@ -33,7 +33,20 @@ jobs:
|
|||||||
- name: Windows Build
|
- name: Windows Build
|
||||||
run: |
|
run: |
|
||||||
New-Item -ItemType Directory -Force -Path "build\windows"
|
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"
|
& "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
|
continue-on-error: false
|
||||||
|
|
||||||
- name: Check Build Output
|
- name: Check Build Output
|
||||||
|
|||||||
12
build-simple.bat
Normal file
12
build-simple.bat
Normal 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
|
||||||
Reference in New Issue
Block a user