14935db63e
Adds full ADB client, device manager, static DeviceInfo fetcher, and live DeviceLiveStats poller. Exposes ListDevices, ConnectDevice, DisconnectDevice, GetDeviceInfo, GetDeviceLiveStats as Wails-bound methods with a 1s devices:changed event loop. Bundles ADB binary infrastructure via //go:embed all:bin with runtime fallback chain.
12 lines
129 B
Go
12 lines
129 B
Go
//go:build !windows
|
|
|
|
package adbembed
|
|
|
|
import (
|
|
"os/exec"
|
|
)
|
|
|
|
func findInPath() (string, error) {
|
|
return exec.LookPath("adb")
|
|
}
|