1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Expose powerMonitor API to extensions

Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
This commit is contained in:
Juho Heikka 2022-02-10 15:09:24 +02:00
parent 4abe0d6c20
commit 4783605709
2 changed files with 8 additions and 0 deletions

View File

@ -6,6 +6,7 @@
import * as Catalog from "./catalog";
import * as Navigation from "./navigation";
import * as K8sApi from "./k8s-api";
import * as Power from "./power";
import { IpcMain as Ipc } from "../ipc/ipc-main";
import { LensMainExtension as LensExtension } from "../lens-main-extension";
@ -15,4 +16,5 @@ export {
K8sApi,
Ipc,
LensExtension,
Power,
};

View File

@ -0,0 +1,6 @@
/**
* Copyright (c) OpenLens Authors. All rights reserved.
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
export { powerMonitor } from "electron";