Add software and emulator screenshots

This commit is contained in:
2026-08-25 22:51:30 +03:00
parent 8f1454ba38
commit aa7dbcf33d
52 changed files with 96 additions and 62 deletions
+5 -1
View File
@@ -16,7 +16,10 @@ param(
[string]$ScreenshotTool = "",
[ValidateRange(1, 60)]
[int]$WaitSeconds = 8
[int]$WaitSeconds = 8,
[ValidateRange(0, 60)]
[int]$SettleSeconds = 3
)
$ErrorActionPreference = "Stop"
@@ -36,6 +39,7 @@ $taskArguments = @(
"-Name `"$Name`""
"-OutputDirectory `"$OutputDirectory`""
"-WaitSeconds $WaitSeconds"
"-SettleSeconds $SettleSeconds"
)
if ($Arguments.Length -gt 0) {
$escapedArguments = $Arguments.Replace('"', '\"')
+5 -2
View File
@@ -17,7 +17,10 @@ param(
[string]$ScreenshotTool = "",
[ValidateRange(1, 60)]
[int]$WaitSeconds = 8
[int]$WaitSeconds = 8,
[ValidateRange(0, 60)]
[int]$SettleSeconds = 3
)
$ErrorActionPreference = "Stop"
@@ -350,7 +353,7 @@ try {
exit 1
}
$settleDeadline = (Get-Date).AddSeconds(3)
$settleDeadline = (Get-Date).AddSeconds($SettleSeconds)
do {
Start-Sleep -Milliseconds 500
$processIds = Get-ProcessTreeIds -RootProcessId $process.Id