tauri-invoke-http icon indicating copy to clipboard operation
tauri-invoke-http copied to clipboard

Tauri 2.0 support?

Open norude opened this issue 1 year ago • 4 comments

Basically this crate is not compatible with tauri 2.0 I tried to fix what I could in my fork, but I am not qualified enough to migrate this crate to 2.0 fully. Please help

norude avatar May 26 '24 17:05 norude

@norude I'll have a look at this.

ahkohd avatar May 30 '24 20:05 ahkohd

I've tried again and this time I've ran into some bigger issues regarding the invoke_key. In the tauri crate invoke_key is at most pub(crate) (as far as I found) and there's no way to get it inside this rust code and thus no way to format it into the custom initialization_script. At the JS side, in regular tauri v2, the key is transmitted through the code in the default initialization_script, but since we have to override it, it isn't transmitted at all. So we have absolutely no access to the invoke key

In tauri v1 it worked like this

norude avatar Jun 14 '24 12:06 norude

@norude can you share your progress in a public Github repo?

ahkohd avatar Jun 15 '24 12:06 ahkohd

yes, my fork

norude avatar Jun 15 '24 20:06 norude