Merge pull request #753 from AnthonyMichaelTDM/plugin-improvements

feat(plugins): Implement event system w/ POC events
This commit is contained in:
Anthony Rubick
2025-09-06 15:42:31 -05:00
committed by GitHub
24 changed files with 1714 additions and 14 deletions

View File

@@ -11,6 +11,7 @@ import (
"time"
"imuslab.com/zoraxy/mod/auth/sso/oauth2"
"imuslab.com/zoraxy/mod/eventsystem"
"github.com/gorilla/csrf"
"imuslab.com/zoraxy/mod/access"
@@ -369,6 +370,11 @@ func startupSequence() {
HotReloadInterval: 5, //seconds
})
/*
Event Manager
*/
eventsystem.InitEventSystem(SystemWideLogger)
//Sync latest plugin list from the plugin store
go func() {
err = pluginManager.UpdateDownloadablePluginList()