mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Change folder to be in /Application Support/Lens
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
18dd4544d7
commit
0732346f6a
@ -120,7 +120,7 @@ export class ExtensionDiscovery {
|
||||
}
|
||||
|
||||
get bundledUpdatesFolderPath(): string {
|
||||
return path.resolve(__static, "../extension-updates");
|
||||
return path.resolve(this.dependencies.extensionPackageRootDirectory, "extension-updates");
|
||||
}
|
||||
|
||||
/**
|
||||
@ -388,6 +388,8 @@ export class ExtensionDiscovery {
|
||||
const bundledExtensions = await this.loadBundledExtensions();
|
||||
const bundedUpdates = await this.loadExtensionUpdates();
|
||||
|
||||
console.log("DATA: ", bundledExtensions, bundedUpdates);
|
||||
|
||||
return bundledExtensions.map(extension => {
|
||||
const updated = bundedUpdates.find(update => update.manifest.name === extension.manifest.name);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user