diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index 92160deb..5ad0bd76 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -3,6 +3,9 @@ all(not(debug_assertions), target_os = "windows"), windows_subsystem = "windows" )] +#[cfg(target_os = "linux")] +use tauri::Manager; // needed for the f10 key fix for now in linux only + #[cfg(target_os = "linux")] use std::fs::metadata; #[cfg(target_os = "linux")] @@ -18,7 +21,6 @@ extern crate webkit2gtk; #[macro_use] extern crate objc; -use tauri::Manager; use regex::Regex; extern crate percent_encoding; use tauri::http::ResponseBuilder;