diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index 1dc2520..903d352 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -67,6 +67,8 @@ fn main() { log_panics::init(); info!("Initialising Tauri .."); + + #[cfg(target_os = "macos")] macos_app_nap::prevent(); // Log errors to Sentry