Add PyInstaller release workflow

This commit is contained in:
Golumpa 2026-06-17 14:54:25 +01:00
parent fefe3a1567
commit c5373aa9e0
9 changed files with 320 additions and 3 deletions

View file

@ -103,7 +103,8 @@ def _load_library() -> ctypes.CDLL:
npcap_dir = _windows_npcap_directory()
if npcap_dir.is_dir() and hasattr(os, "add_dll_directory"):
dll_directory = os.add_dll_directory(str(npcap_dir))
candidates.extend([str(npcap_dir / "wpcap.dll"), "wpcap.dll"])
candidates.append(str(npcap_dir / "wpcap.dll"))
candidates.append("wpcap.dll")
elif sys.platform == "darwin":
candidates.extend(
[