Add connection journal with service traffic details and interactive offline station map
This commit is contained in:
1 parent
78839f5bb4
commit
106b04d631
14 files changed
+168
-7
No files matched your search
@@ -12,6 +12,8 @@ if(!$BpqRoot){
|
||||
}
|
||||
$arguments=@((Join-Path $PSScriptRoot 'install.mjs'),'--bpq-root',$BpqRoot,'--port',"$Port")
|
||||
foreach($option in @(@('http-port',$HttpPort),@('radio-port',$RadioPort),@('sysop-user',$SysopUser),@('forward-peer',$ForwardPeer))){if($option[1]){$arguments+=@('--'+$option[0],"$($option[1])")}}
|
||||
$vara=Get-Process -Name VARA -ErrorAction SilentlyContinue | Select-Object -First 1
|
||||
if($vara.Path){$varaLog=Join-Path (Split-Path $vara.Path) 'VARAHF.log';if(Test-Path -LiteralPath $varaLog){$arguments+=@('--vara-log',$varaLog)}}
|
||||
if($CheckOnly){$arguments+='--check-only'}
|
||||
& $nodeExe @arguments
|
||||
if($LASTEXITCODE -ne 0){throw 'Installazione interrotta: verifica BPQ fallita.'}
|
||||
|
||||
Reference in new issue
Block a user