Exclude Android release metadata and record emulator audio

This commit is contained in:
NINI
2026-10-05 03:22:04 +09:00
parent 0b43d45865
commit d656efe0dc
10 changed files with 191 additions and 14 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ try {
$abis = @($entries | Where-Object { $_ -match '^lib/([^/]+)/libil2cpp\.so$' } | ForEach-Object { ($_ -split '/')[1] })
if ($abis.Count -eq 0) { throw 'APK에 IL2CPP 라이브러리가 없습니다.' }
foreach ($abi in $abis) { if ($entries -notcontains "lib/$abi/libunity.so") { throw "$abi Unity 런타임 누락" } }
if ($entries | Where-Object { $_ -match '(?i)(SourceAssets|conda|Qwen|safetensors)' }) { throw '제작 환경 파일이 APK에 포함되었습니다.' }
if ($entries | Where-Object { $_ -match '(?i)(^|/)(SourceAssets|conda|Qwen[^/]*)(/|$)|\.safetensors$' }) { throw '제작 환경 파일이 APK에 포함되었습니다.' }
$entries | Set-Content -LiteralPath (Join-Path $EvidenceDir 'apk-entries.txt') -Encoding utf8
} finally { $zip.Dispose() }
$package = [regex]::Match(($badging -join "`n"), "package: name='([^']+)'").Groups[1].Value