14 lines
633 B
Rust
14 lines
633 B
Rust
//! The Tauri 2 shell of Rosea Domi (CLAUDE.md §2, *Four versions*).
|
|
//!
|
|
//! A window on the built game (`apps/rosea/dist-tauri/`) and nothing else: no command, no
|
|
//! plugin, no file of its own. The game keeps everything in the webview's IndexedDB, exactly
|
|
//! as in the PWA. `capabilities/` is absent on purpose, so the page is granted no IPC at all.
|
|
|
|
#[cfg_attr(mobile, tauri::mobile_entry_point)]
|
|
pub fn run() {
|
|
tauri::Builder::default()
|
|
.run(tauri::generate_context!())
|
|
// Nothing to recover from here: without a window there is no garden to show.
|
|
.expect("Rosea Domi could not open its window");
|
|
}
|