( bundleIds: readonly string[], )
| 800 | * at the call site; the caller `.catch()`es. |
| 801 | */ |
| 802 | export async function unhideComputerUseApps( |
| 803 | bundleIds: readonly string[], |
| 804 | ): Promise<void> { |
| 805 | if (bundleIds.length === 0) return |
| 806 | if (process.platform === 'darwin') { |
| 807 | const cu = requireComputerUseSwift() |
| 808 | await cu.apps.unhide([...bundleIds]) |
| 809 | } |
| 810 | // Non-darwin: no-op. Windows/Linux prepareForAction doesn't hide apps. |
| 811 | } |
no test coverage detected