mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 05:13:44 +08:00
fix: linux build error
This commit is contained in:
parent
3b30177959
commit
4a3a9bf62c
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user