mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 00:35:38 +08:00
chore: remove unused code
This commit is contained in:
@@ -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::*;
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user