mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-27 11:56:05 +02:00
feat(http): add plugin (#325)
This commit is contained in:
committed by
GitHub
parent
7a8633f429
commit
89fb40caac
@@ -46,9 +46,6 @@ pub fn init<R: Runtime>() -> TauriPlugin<R> {
|
||||
#[cfg(desktop)]
|
||||
let {{ plugin_name_snake_case }} = desktop::init(app, api)?;
|
||||
app.manage({{ plugin_name_snake_case }});
|
||||
|
||||
// manage state so it is accessible by the commands
|
||||
app.manage(MyState::default());
|
||||
Ok(())
|
||||
})
|
||||
.build()
|
||||
|
||||
Reference in New Issue
Block a user