feat: enabling gif upload

This commit is contained in:
Chubby Granny Chaser
2024-10-16 10:46:17 +01:00
parent 05653500b6
commit 05625e7594
36 changed files with 403 additions and 373 deletions

View File

@@ -1,14 +0,0 @@
import { registerEvent } from "../register-event";
import { GameShop } from "@types";
import { Ludusavi } from "@main/services";
const checkGameCloudSyncSupport = async (
_event: Electron.IpcMainInvokeEvent,
objectId: string,
shop: GameShop
) => {
const games = await Ludusavi.findGames(shop, objectId);
return games.length === 1;
};
registerEvent("checkGameCloudSyncSupport", checkGameCloudSyncSupport);