mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 00:23:45 +08:00
fix: linux hanlding mihomo-core and verge-service communication
This commit is contained in:
parent
6976ea3c09
commit
2a92755e65
@ -250,6 +250,8 @@ pub(super) async fn run_core_by_service(config_file: &PathBuf) -> Result<()> {
|
||||
|
||||
let config_dir = dirs::app_home_dir()?;
|
||||
let config_dir = dirs::path_to_str(&config_dir)?;
|
||||
#[cfg(target_os = "linux")]
|
||||
let config_dir = &(config_dir.replace("/verge-mihomo", "") + "/resources");
|
||||
|
||||
let log_path = dirs::service_log_file()?;
|
||||
let log_path = dirs::path_to_str(&log_path)?;
|
||||
|
Loading…
x
Reference in New Issue
Block a user