Skip to content

Commit 5217d31

Browse files
committed
Decline the Blacksmith runner local-network prompt in Apple CI
1 parent 038983b commit 5217d31

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/decline-hosted-compute-local-network.applescript‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on matchingDeclineButtons()
1717
set declineButtons to {}
1818
repeat with candidateElement in elements
1919
try
20-
if role of candidateElement is "AXStaticText" and value of candidateElement is "Allow “hosted-compute-” to find devices on local networks?" then set headingMatches to true
20+
if role of candidateElement is "AXStaticText" and value of candidateElement is in {"Allow “hosted-compute-” to find devices on local networks?", "Allow “Runner.Listener” to find devices on local networks?"} then set headingMatches to true
2121
if role of candidateElement is "AXButton" and name of candidateElement is in {"Don’t Allow", "Don't Allow"} then set end of declineButtons to contents of candidateElement
2222
end try
2323
end repeat

0 commit comments

Comments
 (0)