feat: add Flutter USB mirroring and single-instance desktop clients
This commit is contained in:
1 parent
3a7bb071f0
commit
a339465392
30 files changed
+1688
-104
No files matched your search
@@ -0,0 +1,17 @@
|
||||
param([Parameter(Mandatory)][string]$Destination)
|
||||
$ErrorActionPreference = 'Stop'
|
||||
$root = Split-Path $PSScriptRoot -Parent
|
||||
# Reuse the pinned upstream SHA-256 and publisher signature checks. This does
|
||||
# not install the driver and never requests elevation during packaging.
|
||||
& (Join-Path $PSScriptRoot 'install-windows-usb.ps1')
|
||||
if (-not $?) { throw 'USBip installer verification failed' }
|
||||
$drivers = Join-Path $Destination 'drivers'
|
||||
New-Item -ItemType Directory -Path $drivers -Force | Out-Null
|
||||
Copy-Item -LiteralPath (Join-Path $root 'work/USBip-0.9.8.1-x64.exe') -Destination $drivers -Force
|
||||
@(
|
||||
'USBip 0.9.8.1 x64, upstream usbip-win2 by Cloudyne Systems (Scheibling Consulting AB).',
|
||||
'Source: https://github.com/vadimgrn/usbip-win2/releases/tag/v.0.9.8.1',
|
||||
'This is an unmodified, signed optional installer. It is not installed by the ADS installer.',
|
||||
'Select USB mode in ADS, then confirm driver installation and the Windows UAC prompt.',
|
||||
'Driver installation can briefly restart USB hubs and may require a Windows reboot.'
|
||||
) | Set-Content -LiteralPath (Join-Path $drivers 'README.txt') -Encoding utf8
|
||||
Reference in new issue
Block a user