diff --git a/package.json b/package.json index 6a5fac242d..d48c851ba7 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-lens", "productName": "OpenLens", "description": "OpenLens - Open Source IDE for Kubernetes", - "version": "5.0.0-beta.2", + "version": "5.0.0-beta.4", "main": "static/build/main.js", "copyright": "© 2021 OpenLens Authors", "license": "MIT", diff --git a/src/main/app-updater.ts b/src/main/app-updater.ts index 77ae2bff18..2f9fc1d317 100644 --- a/src/main/app-updater.ts +++ b/src/main/app-updater.ts @@ -4,7 +4,7 @@ import { isDevelopment, isPublishConfigured, isTestEnv } from "../common/vars"; import { delay } from "../common/utils"; import { areArgsUpdateAvailableToBackchannel, AutoUpdateLogPrefix, broadcastMessage, onceCorrect, UpdateAvailableChannel, UpdateAvailableToBackchannel } from "../common/ipc"; import { once } from "lodash"; -import { app, ipcMain } from "electron"; +import { ipcMain } from "electron"; let installVersion: null | string = null; @@ -17,7 +17,6 @@ function handleAutoUpdateBackChannel(event: Electron.IpcMainEvent, ...[arg]: Upd if (arg.now) { logger.info(`${AutoUpdateLogPrefix}: User chose to update now`); autoUpdater.quitAndInstall(true, true); - app.exit(); // this is needed for the installer not to fail on windows. } else { logger.info(`${AutoUpdateLogPrefix}: User chose to update on quit`); autoUpdater.autoInstallOnAppQuit = true; diff --git a/src/main/cluster-manager.ts b/src/main/cluster-manager.ts index 3c4bcd0015..9b1b133749 100644 --- a/src/main/cluster-manager.ts +++ b/src/main/cluster-manager.ts @@ -62,10 +62,6 @@ export class ClusterManager extends Singleton { @action syncClustersFromCatalog(entities: KubernetesCluster[]) { for (const entity of entities) { - if (entity.metadata.source !== "local") { - continue; - } - const cluster = ClusterStore.getInstance().getById(entity.metadata.uid); if (!cluster) {