1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/extensions/license/main.ts
Roman 3d3dddb1de License menu item should come from an extension #1141
Signed-off-by: Roman <ixrock@gmail.com>
2020-10-29 14:06:12 +02:00

15 lines
345 B
TypeScript

import { LensMainExtension } from "@k8slens/extensions";
import { shell } from "electron";
export default class LicenseLensMainExtension extends LensMainExtension {
appMenus = [
{
parentId: "help",
label: "License",
async click() {
shell.openExternal("https://k8slens.dev/licenses/eula.md");
}
}
]
}