Plugin module loading

This commit is contained in:
Gregory Schier
2023-10-29 20:50:23 -07:00
parent eba28ade48
commit 6013cd2329
7 changed files with 108 additions and 48 deletions

View File

@@ -32,7 +32,7 @@ use window_ext::TrafficLightWindowExt;
mod models;
mod render;
mod window_ext;
mod plugins;
mod plugin;
#[derive(serde::Serialize)]
pub struct CustomResponse {
@@ -689,7 +689,7 @@ fn main() {
let w = create_window(app_handle, None);
w.restore_state(StateFlags::all())
.expect("Failed to restore window state");
plugins::test_plugins(&app_handle);
plugin::test_plugins(&app_handle);
}
// ExitRequested { api, .. } => {