//! This module contains various utility/helper functions that do not fit into any other module /// This function's only use is to force a `panic!()` // This must NOT be async to ensure crashing whole application. #[tauri::command] pub fn force_panic() { panic!("Force panicked!"); } /// Returns true if built in debug mode #[tauri::command] pub async fn is_debug_mode() -> bool { cfg!(debug_assertions) }