chore: remove unused code

This commit is contained in:
huzibaca 2024-11-21 11:24:19 +08:00
parent fbecf4f47b
commit 566fd3e88b
2 changed files with 0 additions and 12 deletions

View File

@ -417,16 +417,6 @@ pub async fn restart_app() -> CmdResult<()> {
Ok(()) Ok(())
} }
pub mod service {
use super::*;
use crate::core::service;
#[tauri::command]
pub async fn check_service() -> CmdResult<service::JsonResponse> {
wrap_err!(service::check_service().await)
}
}
#[cfg(not(windows))] #[cfg(not(windows))]
pub mod uwp { pub mod uwp {
use super::*; use super::*;

View File

@ -123,8 +123,6 @@ pub fn run() {
cmds::delete_profile, cmds::delete_profile,
cmds::read_profile_file, cmds::read_profile_file,
cmds::save_profile_file, cmds::save_profile_file,
// service mode
cmds::service::check_service,
// clash api // clash api
cmds::clash_api_get_proxy_delay, cmds::clash_api_get_proxy_delay,
// backup // backup