Files
tauri/tooling/cli/templates/plugin/backend/src/lib.rs
Lucas Fernandes Nogueira 5d538ec27c refactor(core): use the event loop proxy to send updater events (#3687)
* feat(core): add `WindowEvent::FileDrop`, closes #3664

* refactor(core): use the event loop proxy to send updater events

* simplify generics with user event trait

* fix tray impl
2022-03-15 11:20:23 -03:00

10 lines
227 B
Rust
Executable File

{{#if license_header}}
{{ license_header }}
{{/if}}
use tauri::{plugin::{Builder, TauriPlugin}, Runtime};
/// Initializes the plugin.
pub fn init<R: Runtime>() -> TauriPlugin<R> {
Builder::new("{{ plugin_name }}").build()
}