6 lines
321 B
PowerShell
6 lines
321 B
PowerShell
Start-Sleep -Seconds 3
|
|
$log = Get-Content 'C:\Users\Variet-Worker\.gemini\antigravity\bridge\extension.log' -Tail 500
|
|
$port = 0
|
|
foreach ($line in $log) { if ($line -match 'port (\d+)') { $port = $Matches[1] } }
|
|
if ($port -gt 0) { Invoke-RestMethod -Uri "http://127.0.0.1:$port/deep-inspect"; Write-Host 'Dump success!' }
|