mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-20 11:08:32 +08:00
feat: guard the mixed-port and external-controller
This commit is contained in:
1 parent
89009aa1f8
commit
c0d2994b8e
6 files changed
+169
-139
No files matched your search
@@ -119,8 +119,8 @@ pub fn save_profile_file(index: String, file_data: Option<String>) -> CmdResult
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
pub fn get_clash_info() -> CmdResult<ClashInfoN> {
|
||||
wrap_err!(Config::clash().latest().get_info())
|
||||
pub fn get_clash_info() -> CmdResult<ClashInfo> {
|
||||
Ok(Config::clash().latest().get_client_info())
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
|
||||
Reference in new issue
Block a user