修改设备结构

This commit is contained in:
zyj
2025-11-12 18:40:23 +08:00
parent dffb35cb5b
commit 737f2bb5a2
2 changed files with 7 additions and 3 deletions

View File

@@ -21,6 +21,11 @@ type DeviceInfo struct {
Props map[string]string
}
type AdbDevice struct {
Connect net.Conn
Serial string
}
// ListDevicesRaw: 请求 host:devices 并返回原始 payload
func ListDevicesRaw(addr string, timeout time.Duration) (string, error) {
conn, err := DialADB(addr, timeout)