Initialize HelmRepoManager on demand (#2591)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2021-04-22 15:34:17 -04:00
1 parent 7132bf3834
commit b20bedfbae
6 files changed
+27 -24

No files matched your search

+3
View File
@@ -32,6 +32,7 @@ import { IpcRendererNavigationEvents } from "../renderer/navigation/events";
import { CatalogPusher } from "./catalog-pusher";
import { catalogEntityRegistry } from "../common/catalog-entity-registry";
import { HotbarStore } from "../common/hotbar-store";
import { HelmRepoManager } from "./helm/helm-repo-manager";
const workingDir = path.join(app.getPath("appData"), appName);
@@ -104,6 +105,8 @@ app.on("ready", async () => {
const extensionsStore = ExtensionsStore.createInstance();
const filesystemStore = FilesystemProvisionerStore.createInstance();
HelmRepoManager.createInstance(); // create the instance
logger.info("💾 Loading stores");
// preload
await Promise.all([