werks here
This commit is contained in:
@@ -22,7 +22,7 @@ export class PluginManagerPlugin extends PluginManager implements Plugin{
|
||||
constructor(){
|
||||
super()
|
||||
|
||||
this.loadedPlugins[this.name] = this
|
||||
this.loadedPlugins[this.name] = {backend:this, frontend: this.loadFrontend(this.name)}
|
||||
}
|
||||
|
||||
exportRPCs(): import("frontblock-generic/Plugin").socketioRPC[] {
|
||||
@@ -44,8 +44,12 @@ export class PluginManagerPlugin extends PluginManager implements Plugin{
|
||||
visibility: "private",
|
||||
rpc: async () => { return this.getLoadedPlugins() },
|
||||
type: 'call'
|
||||
},
|
||||
{
|
||||
},{
|
||||
name: "getLoadedPluginNames",
|
||||
visibility: "private",
|
||||
rpc: async () => { return this.getLoadedPluginNames() },
|
||||
type: 'call'
|
||||
},{
|
||||
name: "installPlugin",
|
||||
visibility: "private",
|
||||
rpc: async(pluginName:string) => { return await this.installPlugin(pluginName) },
|
||||
|
||||
Reference in New Issue
Block a user