From 78c77a169a538e8daffad164a39f1b830cc70370 Mon Sep 17 00:00:00 2001 From: Jari Kolehmainen Date: Wed, 28 Apr 2021 22:40:25 +0300 Subject: [PATCH] Set product name to window title (#2665) Signed-off-by: Jari Kolehmainen --- src/main/window-manager.ts | 2 ++ src/renderer/template.html | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/window-manager.ts b/src/main/window-manager.ts index ad3cc3a2f2..0a8627b324 100644 --- a/src/main/window-manager.ts +++ b/src/main/window-manager.ts @@ -10,6 +10,7 @@ import { Singleton } from "../common/utils"; import { ClusterFrameInfo, clusterFrameMap } from "../common/cluster-frames"; import { IpcRendererNavigationEvents } from "../renderer/navigation/events"; import logger from "./logger"; +import { productName } from "../common/vars"; export class WindowManager extends Singleton { protected mainWindow: BrowserWindow; @@ -47,6 +48,7 @@ export class WindowManager extends Singleton { this.mainWindow = new BrowserWindow({ x, y, width, height, + title: productName, show: false, minWidth: 700, // accommodate 800 x 600 display minimum minHeight: 500, // accommodate 800 x 600 display minimum diff --git a/src/renderer/template.html b/src/renderer/template.html index 71440e5645..c7df1ee507 100755 --- a/src/renderer/template.html +++ b/src/renderer/template.html @@ -2,7 +2,6 @@ - OpenLens - Open Source Kubernetes IDE