feat: implement ADB wrapper and device management backend

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.
This commit is contained in:
achmad
2026-05-06 14:51:34 +07:00
parent 6a53f87e03
commit 14935db63e
14 changed files with 610 additions and 14 deletions
+7 -4
View File
@@ -1,8 +1,13 @@
module git.achmad.dev/admin/droidscope/desktop
go 1.23.0
go 1.26.2
require github.com/wailsapp/wails/v2 v2.12.0
require (
git.achmad.dev/admin/droidscope/backend v0.0.0
github.com/wailsapp/wails/v2 v2.12.0
)
replace git.achmad.dev/admin/droidscope/backend => ../backend-go
require (
git.sr.ht/~jackmordaunt/go-toast/v2 v2.0.3 // indirect
@@ -34,5 +39,3 @@ require (
golang.org/x/sys v0.30.0 // indirect
golang.org/x/text v0.22.0 // indirect
)
// replace github.com/wailsapp/wails/v2 v2.12.0 => /Users/achmad/go/pkg/mod