mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 16:36:15 -04:00
fix github plugin installation (#6584)
This commit is contained in:
parent
1393f338e0
commit
f8225b3e2a
4 changed files with 32 additions and 17 deletions
|
@ -44,6 +44,12 @@ export class LinkInstaller {
|
|||
await this.checkLinkedDependencies(installedPlugin)
|
||||
}
|
||||
|
||||
public async installFromGitHub(repository: string) {
|
||||
const installedPlugin = await this.livePluginManager.installFromGithub(repository)
|
||||
this.linkDependency(installedPlugin.name)
|
||||
await this.checkLinkedDependencies(installedPlugin)
|
||||
}
|
||||
|
||||
public async installPlugin(pluginName: string, version?: string) {
|
||||
if (version) {
|
||||
const installedPlugin = await this.livePluginManager.install(pluginName, version);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue