fix: alpha version

This commit is contained in:
Tunglies
2025-03-26 02:30:15 +08:00
parent 10426af3ad
commit a891341e35
3 changed files with 6 additions and 6 deletions

View File

@@ -1,9 +1,8 @@
use super::CmdResult;
use crate::{logging, module::mihomo::MihomoManager};
use crate::module::mihomo::MihomoManager;
#[tauri::command]
pub async fn get_proxies() -> CmdResult<serde_json::Value> {
println!("get_proxies");
let mannager = MihomoManager::global();
let proxies = mannager
.refresh_proxies()
@@ -15,8 +14,7 @@ pub async fn get_proxies() -> CmdResult<serde_json::Value> {
#[tauri::command]
pub async fn get_providers_proxies() -> CmdResult<serde_json::Value> {
println!("get_providers_proxies");
let manager = MihomoManager::global();
let mannager = MihomoManager::global();
let providers = mannager
.refresh_providers_proxies()
.await