From d70f92f4672fc3bce2972d1e84acbb50b838de3b Mon Sep 17 00:00:00 2001 From: iam54r1n4 Date: Sun, 22 Jan 2023 13:57:32 -0800 Subject: [PATCH] Add allow(unused) attribute for app_res_dir --- src-tauri/src/utils/dirs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/src/utils/dirs.rs b/src-tauri/src/utils/dirs.rs index 42aa053..2206191 100644 --- a/src-tauri/src/utils/dirs.rs +++ b/src-tauri/src/utils/dirs.rs @@ -106,7 +106,7 @@ pub fn verge_path() -> Result { pub fn profiles_path() -> Result { Ok(app_home_dir()?.join(PROFILE_YAML)) } - +#[allow(unused)] pub fn app_res_dir() -> Result { unsafe { Ok(RESOURCE_DIR