summaryrefslogtreecommitdiff
path: root/crates/gipfel-desktop/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/gipfel-desktop/src/main.rs')
-rw-r--r--crates/gipfel-desktop/src/main.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/crates/gipfel-desktop/src/main.rs b/crates/gipfel-desktop/src/main.rs
new file mode 100644
index 0000000..a6cd4ff
--- /dev/null
+++ b/crates/gipfel-desktop/src/main.rs
@@ -0,0 +1,11 @@
+//! gipfel desktop shell: a webview window around the static WASM build
+//! in `dist/` (produced by build-frontend.sh). All real work happens in
+//! the wasm front end; this binary only hosts it.
+
+#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
+
+fn main() {
+ tauri::Builder::default()
+ .run(tauri::generate_context!())
+ .expect("error while running gipfel");
+}