fix: clippy lint

This commit is contained in:
Slinetrac
2025-11-09 23:23:03 +08:00
parent 221a1e89eb
commit 0dcdd7fed6
8 changed files with 23 additions and 18 deletions
+1 -1
View File
@@ -466,7 +466,7 @@ pub async fn init_resources() -> Result<()> {
#[cfg(target_os = "windows")]
pub fn init_scheme() -> Result<()> {
use tauri::utils::platform::current_exe;
use winreg::{RegKey, enums::*};
use winreg::{RegKey, enums::HKEY_CURRENT_USER};
let app_exe = current_exe()?;
let app_exe = dunce::canonicalize(app_exe)?;