Files
hydra/src/main/events/autoupdater/check-for-updates.ts
2025-01-29 09:14:00 -03:00

9 lines
285 B
TypeScript

import { registerEvent } from "../register-event";
import { UpdateManager } from "@main/services/update-manager";
const checkForUpdates = async (_event: Electron.IpcMainInvokeEvent) => {
return UpdateManager.checkForUpdates();
};
registerEvent("checkForUpdates", checkForUpdates);