mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 10:33:43 +08:00
chore: remove unused code
This commit is contained in:
parent
ffbc0cdff4
commit
ee13bb559e
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user