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:
parent
4abe0d6c20
commit
4783605709
@ -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,
|
||||
};
|
||||
|
||||
6
src/extensions/main-api/power.ts
Normal file
6
src/extensions/main-api/power.ts
Normal 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";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user