File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change 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"
You can’t perform that action at this time.
0 commit comments