Files
TrueGrowth/vendor/aigcpanel/electron/mapi/updater/render.ts
Jammy 52636c91ae
Some checks failed
CI / main (push) Has been cancelled
CI / release-e2e (push) Has been cancelled
Track bundled vendor runtime sources
2026-07-07 10:05:50 +08:00

17 lines
430 B
TypeScript

import updaterIndex from "./index";
import { ipcRenderer } from "electron";
const getCheckAtLaunch = async (): Promise<"yes" | "no"> => {
return ipcRenderer.invoke("updater:getCheckAtLaunch");
};
const setCheckAtLaunch = async (value: "yes" | "no"): Promise<void> => {
return ipcRenderer.invoke("updater:setCheckAtLaunch", value);
};
export default {
...updaterIndex,
getCheckAtLaunch,
setCheckAtLaunch,
};