mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-20 22:58:32 +08:00
fix: linux build error
This commit is contained in:
1 parent
3b30177959
commit
4a3a9bf62c
1 file changed
+1
-1
@@ -92,7 +92,7 @@ pub fn clash_pid_path() -> Result<PathBuf> {
|
||||
Ok(app_home_dir()?.join("clash.pid"))
|
||||
}
|
||||
|
||||
#[cfg(linux)]
|
||||
#[cfg(target_os = "linux")]
|
||||
pub fn local_applications_dir() -> Result<PathBuf> {
|
||||
use tauri::api::path::home_dir;
|
||||
Ok(home_dir()
|
||||
|
||||
Reference in new issue
Block a user