[tauri] TauriPlatforms: The shell around the built game, the Android privacy patch, the shell build of the game, and the device check
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
//! 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");
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// No console window behind the garden in a release build on Windows.
|
||||
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
|
||||
|
||||
fn main() {
|
||||
rosea_shell_lib::run()
|
||||
}
|
||||
Reference in New Issue
Block a user