mirror of
https://github.com/SableClient/Sable.git
synced 2026-12-05 16:22:26 -08:00
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:
1 file changed
+1
-1
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user