fix(tauri): deep linking breaking due to specta export

Aaaaaaa spent an hour on this, problem was that it was panicking trying to export to a path relative to the executable which is protected by the os.
This commit is contained in:
hazre committed 2026-03-12 16:57:24 +01:00
1 parent 9e4a814de7
commit 5823d23bb4
1 file changed
+1 -1
+1 -1
View File
@@ -25,7 +25,7 @@ pub fn run() {
Typescript::default().header("/* eslint-disable */"),
"../src/app/generated/tauri.ts",
)
.expect("Failed to export tauri-specta bindings");
.unwrap_or_else(|e| eprintln!("Warning: Failed to export tauri-specta bindings: {e}"));
let invoke_handler = specta_builder.invoke_handler();