From 7efe974966abc584b01da8f248d31aaa07145a43 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Tue, 4 Oct 2022 11:11:01 -0400 Subject: [PATCH] Release 6.1.2 (#6315) * Release 6.1.2 Signed-off-by: Sebastian Malton * Remove get-logs telemetry event (#6296) Signed-off-by: Juho Heikka Signed-off-by: Juho Heikka * Delete old extensions when app is updated on Windows (#6301) * Add missing space in "Remove x items" (#6290) Signed-off-by: Sebastian Malton Signed-off-by: Juho Heikka Co-authored-by: Juho Heikka Co-authored-by: Andy Hall --- build/installer.nsh | 3 +++ package.json | 2 +- .../telemetry-white-list-for-functions.injectable.ts | 5 ----- src/renderer/components/item-object-list/content.tsx | 2 +- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/build/installer.nsh b/build/installer.nsh index 8ff35b5e4f..d0fe18809a 100644 --- a/build/installer.nsh +++ b/build/installer.nsh @@ -1,4 +1,7 @@ !macro customInit + ; Make sure all old extensions are removed + RMDir /r "$INSTDIR\resources\extensions" + ; Workaround for installer handing when the app directory is removed manually ${ifNot} ${FileExists} "$INSTDIR" DeleteRegKey HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\{${UNINSTALL_APP_KEY}}" diff --git a/package.json b/package.json index 10687a8c0d..5c1a762906 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "productName": "OpenLens", "description": "OpenLens - Open Source IDE for Kubernetes", "homepage": "https://github.com/lensapp/lens", - "version": "6.1.1", + "version": "6.1.2", "main": "static/build/main.js", "copyright": "© 2022 OpenLens Authors", "license": "MIT", diff --git a/src/features/telemetry/renderer/telemetry-white-list-for-functions.injectable.ts b/src/features/telemetry/renderer/telemetry-white-list-for-functions.injectable.ts index 7520fbe084..38f0bb6ca6 100644 --- a/src/features/telemetry/renderer/telemetry-white-list-for-functions.injectable.ts +++ b/src/features/telemetry/renderer/telemetry-white-list-for-functions.injectable.ts @@ -100,10 +100,6 @@ const terminal = [ "create-terminal-tab", ]; -const logs = [ - "get-logs", -]; - const telemetryWhiteListForFunctionsInjectable = getInjectable({ id: "telemetry-white-list-for-functions", instantiate: () => [ @@ -114,7 +110,6 @@ const telemetryWhiteListForFunctionsInjectable = getInjectable({ ...externalActions, ...uiInteraction, ...terminal, - ...logs, ], decorable: false, }); diff --git a/src/renderer/components/item-object-list/content.tsx b/src/renderer/components/item-object-list/content.tsx index 07756760a9..0b8aa9ca28 100644 --- a/src/renderer/components/item-object-list/content.tsx +++ b/src/renderer/components/item-object-list/content.tsx @@ -195,7 +195,7 @@ class NonInjectedItemListLayoutContent< ) : (

- Remove + {"Remove "} {selectedCount} {" items "} {selectedNames}