Expose powerMonitor API to extensions

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

No files matched your search

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