mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 05:43:44 +08:00
fix(linux): can not connect to mihomo core
This commit is contained in:
parent
492a5a6de7
commit
5a2751162f
@ -580,8 +580,6 @@ pub(super) async fn start_with_existing_service(config_file: &PathBuf) -> Result
|
|||||||
|
|
||||||
let config_dir = dirs::app_home_dir()?;
|
let config_dir = dirs::app_home_dir()?;
|
||||||
let config_dir = dirs::path_to_str(&config_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::service_log_file()?;
|
||||||
let log_path = dirs::path_to_str(&log_path)?;
|
let log_path = dirs::path_to_str(&log_path)?;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user