pub fn build_gate_with(
policy: DevToolsPolicy,
main_label: &str,
registrations: &[ContentWebview],
devtools_compiled: bool,
dev_inspect: bool,
) -> Result<DevToolsGate, DevToolsError>Expand description
build_gate plus the dev-inspect switch (DEV_INSPECT_COMPILED in the shell). With
dev_inspect the registrations are still validated as before (a misconfiguration surfaces in
development, not only in the release build), Tauri’s devtools count as compiled (the feature
enables them), and the gate allows every webview.