feat: finished loading winpcap drivers

This commit is contained in:
Andrew Rioux
2025-02-09 14:54:13 -05:00
parent 6780b1595b
commit 3bc9b014f5
10 changed files with 159 additions and 28 deletions
+4
View File
@@ -39,7 +39,11 @@ in {
unpackPhase = ''
mkdir -p $out
printf 'Y\nN\n' | 7z e "${winpcap-installer}" '$SYSDIR/drivers/npf.sys'
printf 'Y\n' | 7z e "${winpcap-installer}" '$SYSDIR/wpcap.dll'
printf 'Y\nY\nN\nN\n' | 7z e "${winpcap-installer}" '$SYSDIR/Packet.dll'
mv npf.sys $out/npf.sys
mv wpcap.dll $out/wpcap.dll
mv Packet.dll $out/Packet.dll
'';
};