diff --git a/apps/zui/src/plugins/brimcap/packets/download.ts b/apps/zui/src/plugins/brimcap/packets/download.ts index 27f614f00..59ed23bc5 100644 --- a/apps/zui/src/plugins/brimcap/packets/download.ts +++ b/apps/zui/src/plugins/brimcap/packets/download.ts @@ -43,8 +43,14 @@ export async function downloadPackets(root: string, pool: string, uid: string) { const msg = JSON.parse(err)?.error || `brimcap search failed: ${err}` window.showErrorMessage(msg) } else { - shell.openPath(dest) - window.showSuccessMessage("Packets extracted. Opening...") + const msg = await shell.openPath(dest) + if (msg) { + window.showErrorMessage( + "Could not open extracted pcap. Is Wireshark installed?" + ) + } else { + window.showSuccessMessage("Packets extracted. Opening...") + } } } }