param( [string]$Package = "com.kuaishou.nebula", [string]$Script = "tools\frida_probe_passport_wcfg.js", [string]$OutDir = "out", [int]$PollSeconds = 180 ) $ErrorActionPreference = "Stop" $delegate = Join-Path $PSScriptRoot "frida_attach_all_processes.ps1" if (!(Test-Path $delegate)) { throw "Delegate script not found: $delegate" } & powershell -NoProfile -ExecutionPolicy Bypass ` -File $delegate ` -Package $Package ` -Script $Script ` -OutDir $OutDir ` -PollSeconds $PollSeconds