diff --git a/scripts/build-android-test.ps1 b/scripts/build-android-test.ps1 index af70ac2..cc6fb4b 100644 --- a/scripts/build-android-test.ps1 +++ b/scripts/build-android-test.ps1 @@ -84,7 +84,13 @@ finally { $credential = $null } -$hashLines = $copiedPackages | ForEach-Object { +$licenseManagerArchive = Join-Path $outputDirectory "LME-Pro-LicenseManager-win-x64.zip" +$filesToHash = @($copiedPackages) +if (Test-Path -LiteralPath $licenseManagerArchive) { + $filesToHash += Get-Item -LiteralPath $licenseManagerArchive +} + +$hashLines = $filesToHash | ForEach-Object { $hash = Get-FileHash -Algorithm SHA256 -LiteralPath $_.FullName "$($hash.Hash.ToLowerInvariant()) $($_.Name)" }