1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/src/main/check-for-updates.injectable.ts
Janne Savolainen bc979b72e6
Make tray items comply with Open Closed Principle
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-05-20 14:07:46 +03:00

15 lines
442 B
TypeScript

/**
* Copyright (c) OpenLens Authors. All rights reserved.
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
import { getInjectable } from "@ogre-tools/injectable";
import { checkForUpdates } from "./app-updater";
const checkForUpdatesInjectable = getInjectable({
id: "check-for-updates",
instantiate: () => checkForUpdates,
causesSideEffects: true,
});
export default checkForUpdatesInjectable;