feat: adding translation for button

This commit is contained in:
Chubby Granny Chaser
2025-01-01 21:32:22 +00:00
parent cbbe6993bd
commit a121ef77c0
21 changed files with 176 additions and 62 deletions

View File

@@ -0,0 +1,8 @@
import { registerEvent } from "../register-event";
import { HydraApi } from "@main/services";
const getFeatures = async (_event: Electron.IpcMainInvokeEvent) => {
return HydraApi.get<string[]>("/features", null, { needsAuth: false });
};
registerEvent("getFeatures", getFeatures);