On macOS, we expect users to have Wireshark installed, not the standalone tshark utility. When Wireshark is correctly installed, it doesn't expose tshark directly to the system path. Therefore, we need to determine the path to tshark manually.
We should revert part of #8, specifically speaking bc907e2, to fix the script for macOS.
Discovering paths on Linux with which is a good idea though.
On macOS, we expect users to have Wireshark installed, not the standalone tshark utility. When Wireshark is correctly installed, it doesn't expose tshark directly to the system path. Therefore, we need to determine the path to tshark manually.
We should revert part of #8, specifically speaking bc907e2, to fix the script for macOS.
Discovering paths on Linux with
which
is a good idea though.