mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-04-13 21:40:33 +08:00
16 lines
309 B
Rust
16 lines
309 B
Rust
use crate::module::lightweight;
|
|
|
|
use super::CmdResult;
|
|
|
|
#[tauri::command]
|
|
pub async fn entry_lightweight_mode() -> CmdResult {
|
|
lightweight::entry_lightweight_mode();
|
|
Ok(())
|
|
}
|
|
|
|
#[tauri::command]
|
|
pub async fn exit_lightweight_mode() -> CmdResult {
|
|
lightweight::exit_lightweight_mode();
|
|
Ok(())
|
|
}
|