You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
895 B
PowerShell
24 lines
895 B
PowerShell
# Run second Flash Send dev instance for local testing
|
|
# Port offset: +100
|
|
|
|
$env:FLASH_SEND_PORT_OFFSET = "100"
|
|
$env:FLASH_SEND_INSTANCE = "LocalTest2"
|
|
|
|
Write-Host ""
|
|
Write-Host "========================================" -ForegroundColor Cyan
|
|
Write-Host " Flash Send - Dev Instance 2" -ForegroundColor White
|
|
Write-Host "========================================" -ForegroundColor Cyan
|
|
Write-Host ""
|
|
Write-Host "Port Config:" -ForegroundColor Yellow
|
|
Write-Host " UDP Broadcast: 53317 (shared)" -ForegroundColor Gray
|
|
Write-Host " UDP Listen: 53417 (53317 + 100)" -ForegroundColor Gray
|
|
Write-Host " WebSocket: 53418 (53318 + 100)" -ForegroundColor Gray
|
|
Write-Host " HTTP: 53419 (53319 + 100)" -ForegroundColor Gray
|
|
Write-Host ""
|
|
Write-Host "Make sure Instance 1 is running in another terminal" -ForegroundColor Green
|
|
Write-Host ""
|
|
|
|
Set-Location $PSScriptRoot\..
|
|
|
|
pnpm tauri dev
|