Skip to content

Commit

Permalink
feat: Windows support
Browse files Browse the repository at this point in the history
  • Loading branch information
JahazielLem committed Dec 26, 2024
1 parent d0f79b8 commit 270a757
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pycatsniffer_bv3/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ def wireshark_files():
return []

if platform.system() == "Windows":
dissectors_path = os.path.join(program_path, "plugins\\wireshark\\4-4")
dissectors_path = os.path.join(
program_path.replace("Wireshark.exe"), "plugins\\epan\\4-4"
)
dissector_file = "dissectors/windows/catsniffer.dll"
elif platform.system() == "Darwin":
dissectors_path = os.path.join(program_path, "PlugIns/wireshark/4-4/epan/")
Expand Down

0 comments on commit 270a757

Please sign in to comment.