mirror of
https://github.com/Eugeny/tabby.git
synced 2025-08-18 23:31:51 +00:00
handle legacy plugins in plugin loader
This commit is contained in:
@@ -22,7 +22,8 @@ export class PluginManagerService {
|
||||
@Inject(BOOTSTRAP_DATA) bootstrapData: BootstrapData,
|
||||
) {
|
||||
this.logger = log.create('pluginManager')
|
||||
this.installedPlugins = bootstrapData.installedPlugins
|
||||
this.installedPlugins = [...bootstrapData.installedPlugins]
|
||||
this.installedPlugins.sort((a, b) => a.name.localeCompare(b.name))
|
||||
this.userPluginsPath = bootstrapData.userPluginsPath
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user