feat: refactor deeplnik handler

This commit is contained in:
Zamitto 2024-06-16 17:01:38 -03:00
parent 1bf2c8faf9
commit 16c4460011
5 changed files with 6 additions and 8 deletions

View file

@ -1,6 +1,5 @@
import { defaultDownloadsPath } from "@main/constants";
import { app, ipcMain } from "electron";
import { HydraApi } from "@main/services/hydra-api";
import "./catalogue/get-catalogue";
import "./catalogue/get-game-shop-details";
@ -46,5 +45,4 @@ import "./profile/get-me";
ipcMain.handle("ping", () => "pong");
ipcMain.handle("getVersion", () => app.getVersion());
ipcMain.handle("isUserLoggedIn", () => HydraApi.isLoggedIn());
ipcMain.handle("getDefaultDownloadsPath", () => defaultDownloadsPath);