feat: add optional Windows virtual USB ADB device

This commit is contained in:
tongtong committed 2026-11-12 17:34:23 +08:00
1 parent 2abfb63da9
commit 08d60de364
23 files changed
+802 -26

No files matched your search

+2 -2
View File
@@ -8,7 +8,7 @@ try {
else { cargo build --workspace --release --locked }
if ($LASTEXITCODE -ne 0) { throw 'Rust build failed' }
New-Item -ItemType Directory -Force -Path (Join-Path $projectRoot 'bin') | Out-Null
foreach ($name in @('ads-agent', 'ads-client')) {
foreach ($name in @('ads-agent', 'ads-client', 'ads-usb')) {
Copy-Item -LiteralPath (Join-Path $projectRoot "target/$configuration/$name.exe") -Destination (Join-Path $projectRoot "bin/$name.exe") -Force
}
Push-Location (Join-Path $projectRoot 'server')
@@ -19,4 +19,4 @@ try {
if ($LASTEXITCODE -ne 0) { throw 'Relay build failed' }
} finally { Pop-Location }
} finally { Pop-Location }
Write-Host "Built control server, relay node, agent and client in $projectRoot/bin"
Write-Host "Built control server, relay node, agent, client and optional USB bridge in $projectRoot/bin"