mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
fix: expose Util.openExternal via extensions-api
Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
1 parent
9cda855038
commit
b2d9538d85
4 files changed
+10
-5
No files matched your search
@@ -1,5 +1,4 @@
|
||||
import { LensMainExtension } from "@k8slens/extensions";
|
||||
import { shell } from "electron";
|
||||
import { LensMainExtension, Util } from "@k8slens/extensions";
|
||||
|
||||
export default class LicenseLensMainExtension extends LensMainExtension {
|
||||
appMenus = [
|
||||
@@ -7,7 +6,7 @@ export default class LicenseLensMainExtension extends LensMainExtension {
|
||||
parentId: "help",
|
||||
label: "License",
|
||||
async click() {
|
||||
shell.openExternal("https://k8slens.dev/licenses/eula.md");
|
||||
Util.openExternal("https://k8slens.dev/licenses/eula.md")
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user