diff --git a/src-tauri/src/commands/biometric.rs b/src-tauri/src/commands/biometric.rs index d3723a7..d938d59 100644 --- a/src-tauri/src/commands/biometric.rs +++ b/src-tauri/src/commands/biometric.rs @@ -77,7 +77,7 @@ mod windows_hello { } #[tauri::command] -pub fn windows_hello_authenticate(_reason: String) -> Result<(), String> { +pub fn windows_hello_authenticate(reason: String) -> Result<(), String> { #[cfg(target_os = "windows")] return windows_hello::authenticate(&reason); #[cfg(not(target_os = "windows"))] diff --git a/src-tauri/src/commands/system.rs b/src-tauri/src/commands/system.rs index e0d7659..0f0dff7 100644 --- a/src-tauri/src/commands/system.rs +++ b/src-tauri/src/commands/system.rs @@ -1,6 +1,7 @@ #[cfg(target_os = "windows")] use crate::server::resolve::strip_unc; use tauri::Manager; +use std::path::PathBuf; #[tauri::command] pub fn get_platform_ui_scale(window: tauri::Window) -> f64 {