renamed to koala clash
This commit is contained in:
@@ -578,7 +578,7 @@ pub async fn check_ipc_service_status() -> Result<JsonResponse> {
|
||||
}
|
||||
Err(e) => {
|
||||
logging!(error, Type::Service, true, "IPC通信失败: {}", e);
|
||||
bail!("无法连接到Clash Verge Service: {}", e)
|
||||
bail!("无法连接到Koala Clash Service: {}", e)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -667,7 +667,7 @@ pub async fn check_service_version() -> Result<String> {
|
||||
}
|
||||
Err(e) => {
|
||||
logging!(error, Type::Service, true, "IPC通信失败: {}", e);
|
||||
bail!("无法连接到Clash Verge Service: {}", e)
|
||||
bail!("无法连接到Koala Clash Service: {}", e)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -814,7 +814,7 @@ pub(super) async fn start_with_existing_service(config_file: &PathBuf) -> Result
|
||||
}
|
||||
Err(e) => {
|
||||
logging!(error, Type::Service, true, "启动核心IPC通信失败: {}", e);
|
||||
bail!("无法连接到Clash Verge Service: {}", e)
|
||||
bail!("无法连接到Koala Clash Service: {}", e)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -910,7 +910,7 @@ pub(super) async fn stop_core_by_service() -> Result<()> {
|
||||
let payload = serde_json::json!({});
|
||||
let response = send_ipc_request(IpcCommand::StopClash, payload)
|
||||
.await
|
||||
.context("无法连接到Clash Verge Service")?;
|
||||
.context("无法连接到Koala Clash Service")?;
|
||||
|
||||
if !response.success {
|
||||
bail!(response.error.unwrap_or_else(|| "停止核心失败".to_string()));
|
||||
|
||||
Reference in New Issue
Block a user