mirror of
https://github.com/software-mansion/argent.git
synced 2026-09-14 19:27:14 +08:00
9376cf48b6
inspectConnectedNativeApps used Promise.all, so a single mid-tear-down app's rejected getAppState would poison the whole auto-target lookup and describe would silently return an empty AX tree. Switch to Promise.allSettled and drop rejected entries, mirroring the sibling detectFrontmostBundleId in blueprints/native-devtools.ts. resolveNativeTargetApp now also remembers the original connected count so a survivor of a multi-app inspection is still classified as frontmost_detected rather than as the only connected app.