This commit is contained in:
Mo Bitar
2020-02-09 12:07:18 -06:00
parent 046f6ca5b9
commit 1a87df0db8
18 changed files with 1151 additions and 1130 deletions

View File

@@ -15,8 +15,9 @@ export class NativeExtManager {
this.resolveExtensionsManager();
this.resolveBatchManager();
application.onReady(() => {
this.initialize();
application.onUnlock(() => {
this.resolveExtensionsManager();
this.resolveBatchManager();
});
}
@@ -24,11 +25,6 @@ export class NativeExtManager {
return this.systemExtensions.includes(extension.uuid);
}
async initialize() {
this.resolveExtensionsManager();
this.resolveBatchManager();
}
extensionsManagerTemplatePayload() {
const url = window._extensions_manager_location;
if (!url) {