aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src-tauri/src/main.rs')
-rw-r--r--src-tauri/src/main.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs
index 1fc55678..4fd05c9e 100644
--- a/src-tauri/src/main.rs
+++ b/src-tauri/src/main.rs
@@ -65,7 +65,7 @@ fn main() {
},
));
- match tauri::Builder::default()
+ let tauri_builder_res = tauri::Builder::default()
.plugin(tauri_plugin_store::Builder::default().build())
.setup(|app| {
let app_handle = app.app_handle();
@@ -161,8 +161,9 @@ fn main() {
util::kill_northstar,
util::open_repair_window,
])
- .run(tauri::generate_context!())
- {
+ .run(tauri::generate_context!());
+
+ match tauri_builder_res {
Ok(()) => (),
Err(err) => {
// Failed to launch system native web view