From a440815b5c61bbf953a521c80df0ef126a25ab2f Mon Sep 17 00:00:00 2001 From: Adileo Barone Date: Sat, 25 Feb 2023 16:00:17 +0100 Subject: [PATCH] fix use --- src-tauri/src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index f76a054..26d3b0e 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -7,17 +7,17 @@ mod window_style; use regex::Regex; use serde::Serialize; - use std::process::Command; use std::sync::Mutex; -use std::{path::PathBuf, thread}; use sysinfo::{DiskExt, System, SystemExt}; use tauri::api::process::CommandChild; use tauri::Manager; + +#[cfg(target_os = "macos")] use window_vibrancy::NSVisualEffectMaterial; #[cfg(target_os = "linux")] -use {std::fs::metadata, std::PathBuf}; +use {std::fs::metadata, std::path::PathBuf}; #[derive(Serialize)] #[serde(rename_all = "camelCase")]