specta-rs / tauri-specta

Completely typesafe Tauri commands
MIT License
368 stars 40 forks source link

Infer plugin name from Tauri plugin #40

Closed oscartbeaumont closed 3 months ago

oscartbeaumont commented 1 year ago

Right now it's taken in a string provided by the user but can we maybe PR to Tauri to expose an API for us to capture it? Idk, worth a try but not a major issue.

oscartbeaumont commented 3 months ago

I don't think we can do this without being in-charge of creating the builder which is problematic because you can only have one .setup which we would need to hyjack to register events.