refactor: kill core by process name

This commit is contained in:
MystiPanda committed 2024-06-18 12:36:58 +08:00
1 parent 3083ab74a6
commit 6fa0f92ceb
2 files changed
+18 -33

No files matched your search

-4
View File
@@ -88,10 +88,6 @@ pub fn profiles_path() -> Result<PathBuf> {
Ok(app_home_dir()?.join(PROFILE_YAML))
}
pub fn clash_pid_path() -> Result<PathBuf> {
Ok(app_home_dir()?.join("clash.pid"))
}
#[cfg(not(target_os = "windows"))]
pub fn service_path() -> Result<PathBuf> {
Ok(app_resources_dir()?.join("clash-verge-service"))