13 lines
427 B
Rust
13 lines
427 B
Rust
// Learn more about Tauri commands at https://tauri.app/develop/calling-rust/
|
|
mod openwrt;
|
|
|
|
#[cfg_attr(mobile, tauri::mobile_entry_point)]
|
|
pub fn run() {
|
|
tauri::Builder::default()
|
|
.invoke_handler(tauri::generate_handler![
|
|
openwrt::detect_openwrt_router,
|
|
openwrt::test_openwrt_ssh
|
|
])
|
|
.run(tauri::generate_context!())
|
|
.expect("error while running tauri application");
|
|
} |