build: restore Android toolchain and verify APK icon

Points the Android build at a portable JDK/SDK in the approved temp folder, hardens QA so export failures cannot false-pass, and confirms the rebuilt APK ships the new gouache launcher icon.
This commit is contained in:
Ratdoku Builder committed 2026-12-05 22:57:33 -06:00
1 parent a7a238e418
commit e0f712b39c
2 files changed
+4 -3

No files matched your search

+2 -2
View File
@@ -1,7 +1,7 @@
param(
[string]$Godot = "C:\Program Files (x86)\Steam\steamapps\common\Godot Engine\godot.windows.opt.tools.64.exe",
[string]$Jdk = "E:\AndroidTools\jdk-17.0.21.1+2",
[string]$Sdk = "E:\AndroidTools\sdk",
[string]$Jdk = "C:\Users\enter\AppData\Local\Temp\opencode\android-toolchain\jdk",
[string]$Sdk = "C:\Users\enter\AppData\Local\Temp\opencode\android-toolchain\sdk",
[string]$Out = "build/Ratdoku.apk"
)
+2 -1
View File
@@ -102,7 +102,8 @@ if ($Build) {
if (Test-Path $buildErr) { $buildOutput += "`n" + (Get-Content $buildErr -Raw) }
Add-Content -Path $logFile -Value $buildOutput
$apk = Join-Path $project "build/Ratdoku.apk"
if ($buildProc.ExitCode -ne 0 -or $buildOutput -notmatch 'DONE' -or -not (Test-Path $apk)) {
$exportFailed = $buildOutput -match 'Project export for preset .* failed|ERROR: Cannot export project'
if ($buildProc.ExitCode -ne 0 -or $exportFailed -or $buildOutput -notmatch 'DONE.*export' -or -not (Test-Path $apk)) {
$script:failures += "android-build"
Write-Host "FAIL android-build"
}