Deploy: Npcap is a one-time MANUAL install per cockpit (operator consensus)
Retire the bundled-silent-installer requirement: postinstall now detects an existing Npcap service and moves on, warns clearly when absent, and still honors a bundled deploy\npcap.exe if one is shipped. package.ps1 no longer flags the missing bundle as a warning. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -78,9 +78,10 @@ if ($NoContent) {
|
||||
if ($Renderer) { Copy-Item $Renderer (Join-Path $root 'renderer.exe'); Log "bundled renderer -> renderer.exe" }
|
||||
else { Warn "no -Renderer: renderer NOT bundled (freeze pending). pod-launch needs --renderer or a bundled render-bridge at runtime." }
|
||||
|
||||
# Npcap installer -- else flagged
|
||||
# Npcap installer -- optional: policy (2026-07-10) is a one-time MANUAL install
|
||||
# per cockpit; postinstall detects it and only warns when absent.
|
||||
if ($Npcap) { Copy-Item $Npcap (Join-Path $root 'deploy\npcap.exe'); Log "bundled Npcap -> deploy\npcap.exe" }
|
||||
else { Warn "no -Npcap: installer NOT bundled. postinstall will warn + the pcap bridge won't work until Npcap is present." }
|
||||
else { Log "Npcap not bundled (manual-install policy; operator installs once per cockpit)" }
|
||||
|
||||
if ($VcRedist) { Copy-Item $VcRedist (Join-Path $root 'deploy\vc_redist.x64.exe'); Log "bundled VC++ runtime" }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user