Skip to content

Commit 073cd06

Browse files
committed
github: remove download of npcap runtime
1 parent 10c65bc commit 073cd06

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -91,23 +91,6 @@ jobs:
9191
if: matrix.os == 'windows-latest'
9292
shell: powershell
9393
run: |
94-
try {
95-
# Try to install Npcap runtime first (may fail in CI but worth trying)
96-
$npcapUrl = "https://npcap.com/dist/npcap-1.79.exe"
97-
$npcapInstaller = "$env:TEMP\npcap-installer.exe"
98-
Write-Host "Downloading Npcap installer..."
99-
Invoke-WebRequest -Uri $npcapUrl -OutFile $npcapInstaller
100-
Write-Host "Installing Npcap (may fail in CI environment)..."
101-
$process = Start-Process -FilePath $npcapInstaller -ArgumentList "/S" -Wait -NoNewWindow -PassThru
102-
if ($process.ExitCode -eq 0) {
103-
Write-Host "Npcap installed successfully"
104-
} else {
105-
Write-Host "Npcap installation failed (exit code: $($process.ExitCode)), continuing with SDK-only approach"
106-
}
107-
} catch {
108-
Write-Host "Npcap installation failed: $($_.Exception.Message), continuing with SDK-only approach"
109-
}
110-
11194
# Download and extract Npcap SDK (required for compilation)
11295
$sdkUrl = "https://npcap.com/dist/npcap-sdk-1.13.zip"
11396
$sdkPath = "$env:TEMP\npcap-sdk.zip"

0 commit comments

Comments
 (0)