kana-trainer 1.1.1

Desktop trainer for hiragana and katakana with quiz, typing and audio modes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod reports;

// Android and iOS enter through this function instead of `main`, so the app
// setup lives in the library and `main.rs` is only a thin desktop wrapper.
#[cfg_attr(mobile, tauri::mobile_entry_point)]
pub fn run() {
    tauri::Builder::default()
        .plugin(tauri_plugin_dialog::init())
        .invoke_handler(tauri::generate_handler![
            reports::list_reports,
            reports::save_report,
            reports::delete_report,
            reports::export_report,
            reports::import_report
        ])
        .run(tauri::generate_context!())
        .expect("failed to start kana trainer");
}