mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-26 02:16:16 -04:00
Feat/local install (#6232)
* Added local install * Fixed installing plugin. * Added output for other use case. * Fixed installation.
This commit is contained in:
parent
e63d9aef1b
commit
324ac44ad3
2 changed files with 18 additions and 2 deletions
|
@ -40,10 +40,10 @@ export class LinkInstaller {
|
|||
|
||||
public async installFromPath(path: string) {
|
||||
const installedPlugin = await this.livePluginManager.installFromPath(path)
|
||||
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