12 lines
458 B
PowerShell
12 lines
458 B
PowerShell
# 用法:先启动 App,再运行此脚本
|
||
adb devices
|
||
Write-Host "`n=== 已安装的 uni 包 ==="
|
||
adb shell pm list packages | findstr /i uni
|
||
|
||
Write-Host "`n=== 清空日志,请手动点开 App ==="
|
||
adb logcat -c
|
||
Start-Sleep -Seconds 2
|
||
|
||
Write-Host "`n=== 抓取 DCloud / 崩溃 / WebView 日志(30秒)==="
|
||
adb logcat -v time -t 800 | findstr /i "dcloud uni jyuan UNIOPTICAL NIOPTICAL AndroidRuntime FATAL chromium bootstrap splash WebView loadUrl"
|