// Parking System desktop shell — entry point. // // Intentionally minimal: build the default Tauri app and run it. The window // config (kiosk, fullscreen, which URL/assets to load) lives in tauri.conf.json. // No custom commands are registered — the renderer (the @parking/web SPA) reaches // the backend over HTTP to the local Fastify server, NOT through Tauri IPC. This // keeps the shell a thin presentation wrapper with a deny-by-default native // surface (see wiki/decisions/desktop-shell-tauri.md). #[cfg_attr(mobile, tauri::mobile_entry_point)] pub fn run() { tauri::Builder::default() // Auto-update: the JS side (apps/web) checks on launch, prompts the // operator, and installs + relaunches on confirm. These plugins expose // the update check/install and the relaunch to that flow. The updater // endpoint + signing pubkey live in tauri.conf.json. .plugin(tauri_plugin_updater::Builder::new().build()) .plugin(tauri_plugin_process::init()) .run(tauri::generate_context!()) .expect("error while running the Parking System desktop shell"); }