plugin.ts: Add homepageURL to plugin and application
This commit is contained in:
@ -72,6 +72,7 @@ export class PluginAPI {
|
||||
displayName: p.displayName,
|
||||
description: p.description,
|
||||
routerPath: p.routerPath,
|
||||
homepageURL: p.homepageURL,
|
||||
},
|
||||
}
|
||||
}),
|
||||
@ -197,6 +198,9 @@ export class PluginAPI {
|
||||
if (!p.routerPath) {
|
||||
throw new Error("plugin missing router path")
|
||||
}
|
||||
if (!p.homepageURL) {
|
||||
throw new Error("plugin missing homepage")
|
||||
}
|
||||
|
||||
p.init({
|
||||
logger: logger,
|
||||
|
Reference in New Issue
Block a user