Set product name to window title (#2665)

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen authored and GitHub committed 2021-04-28 15:40:25 -04:00
1 parent ac963ede6e
commit 78c77a169a
2 files changed
+2 -1

No files matched your search

+2
View File
@@ -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
-1
View File
@@ -2,7 +2,6 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>OpenLens - Open Source Kubernetes IDE</title>
</head>
<body>