mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
798ad85fad
commit
7561e04213
1 file changed
+2
-2
@@ -271,7 +271,7 @@ export class ExtensionLoader {
|
||||
loadOnMain() {
|
||||
this.autoInitExtensions(async (extension: LensMainExtension) => {
|
||||
// Check for update for the extension on main process that does not have renderer script
|
||||
if (extension.isBundled || !extension.manifest.renderer) {
|
||||
if (extension.isBundled || !extension.manifest.renderer) {
|
||||
this.checkForExtensionUpdate(extension);
|
||||
}
|
||||
|
||||
@@ -360,7 +360,7 @@ export class ExtensionLoader {
|
||||
const instance = this.dependencies.createExtensionInstance(
|
||||
LensExtensionClass,
|
||||
extension,
|
||||
this.extensionUpdateChecker
|
||||
this.extensionUpdateChecker,
|
||||
);
|
||||
|
||||
const loaded = instance.enable(register).catch((err) => {
|
||||
|
||||
Reference in new issue
Block a user