Files
WYF-koubo/electron/mapi/lang/render.ts
T
2026-06-19 18:45:55 +08:00

15 lines
332 B
TypeScript

import { ipcRenderer } from "electron";
const writeSourceKey = async (key: string) => {
return ipcRenderer.invoke("lang:writeSourceKey", key);
};
const writeSourceKeyUse = async (key: string) => {
return ipcRenderer.invoke("lang:writeSourceKeyUse", key);
};
export default {
writeSourceKey,
writeSourceKeyUse,
};