main.rs failed to compile on Windows: pmkid_hunt and pmf_test were only
implemented under #[cfg(target_os = "linux")], with no fallback stub,
so the Tauri commands calling them did not resolve.
- Add #[cfg(not(target_os = "linux"))] stubs for both, matching the
existing pattern for every other Linux-only Engine method (returns
SabiaError::UnsupportedPlatform).
- Mark the DeauthJob/Engine fields and session_ap/client_snapshot
helpers that only the Linux-only code paths use with
#[cfg_attr(not(target_os = "linux"), allow(dead_code))], same for
eviltwin.rs's form_value/url_decode (only called from the
#[cfg(target_os = "linux")] HTTP handler) — silences the 5
dead_code warnings a Windows build produced.
- .setup(|app| ...) used app only inside unix/linux/macos-gated
blocks, so it was unused on Windows; renamed the closure parameter
and reintroduce it under the matching cfg.
- Add the missing English dictionary entry for the mutation-rules
checkbox label in app.js (found by visually reviewing a generated
screenshot: it was rendering in Portuguese in the English UI even
though check-ui-i18n.mjs reported full coverage).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VAyr8d7HuAdUGB6aA5xmDD