Feat/local install (#6232)

* Added local install

* Fixed installing plugin.

* Added output for other use case.

* Fixed installation.
This commit is contained in:
SamTV12345 2024-03-16 14:50:34 +01:00 committed by GitHub
parent e63d9aef1b
commit 324ac44ad3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 18 additions and 2 deletions

View file

@ -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);