From 3702a25813016e631035fac8d32be907fcf0ceb6 Mon Sep 17 00:00:00 2001 From: Youwes09 Date: Fri, 1 May 2026 05:56:39 -0500 Subject: [PATCH] Chore: Patch Biometrics --- src-tauri/src/commands/biometric.rs | 2 +- src-tauri/src/commands/system.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 {