Merge pull request #1371 from hydralauncher/feature/adding-sentry

Feature/adding sentry
This commit is contained in:
Zamitto
2025-01-01 19:48:17 -03:00
committed by GitHub
21 changed files with 178 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);