mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-29 13:51:02 +00:00
9 lines
285 B
TypeScript
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);
|