Skip to main content

Module diagnostics_cmd

Module diagnostics_cmd 

Source
Expand description

Tauri commands for diagnostic bundle collection and export.

§Commands

  • diagnostics_collect — build a redacted ZIP bundle from app files.
  • diagnostics_export — copy the ZIP to a user-chosen path and clean up.

§OCP

New diagnostic commands are additive — each is an independent #[tauri::command] registered in lib.rs. BundleConfig is open for new include_* fields without changing these handlers.

Functions§

diagnostics_collect
Collect a diagnostic bundle according to config.
diagnostics_export
Copy the collected bundle ZIP to dest_path and clean up the temp dir.
resolve_app_paths 🔒
Build AppPaths from the Tauri AppHandle.