mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: refactor deeplnik handler
This commit is contained in:
parent
1bf2c8faf9
commit
16c4460011
5 changed files with 6 additions and 8 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue