Add Android APK inspection and device verification gates

This commit is contained in:
NINI
2026-10-05 03:12:45 +09:00
parent 50ae5b5c6f
commit 0b43d45865
5 changed files with 134 additions and 0 deletions
+2
View File
@@ -45,6 +45,8 @@ try {
if ($LASTEXITCODE -ne 0 -or !(Test-Path -LiteralPath $apkPath)) { throw 'Android build failed or produced no APK.' }
$record.apk = $apkPath
$record.apkSha256 = (Get-FileHash -LiteralPath $apkPath -Algorithm SHA256).Hash
& (Join-Path $PSScriptRoot 'android/inspect-apk.ps1') -ApkPath $apkPath -EvidenceDir $evidenceDir
$record.apkMetadata = Join-Path $evidenceDir 'apk-metadata.json'
if ($Milestone -eq 'Final') {
Copy-Item -LiteralPath $apkPath -Destination (Join-Path $projectRoot 'artifacts/android/MagnetismHeroes.apk')
}