Files
AndroidDeviceStreaming/scripts/start-desktop.ps1
T

8 lines
351 B
PowerShell

$ErrorActionPreference = 'Stop'
$projectRoot = Split-Path $PSScriptRoot -Parent
$application = Join-Path $projectRoot 'bin/desktop-win-x64/Ads.Desktop.exe'
if (-not (Test-Path -LiteralPath $application)) {
throw 'Build the desktop package first with scripts/build-desktop.ps1'
}
Start-Process -FilePath $application -WorkingDirectory $projectRoot