feat: initial profile refactor

This commit is contained in:
Chubby Granny Chaser 2024-09-12 00:53:16 +01:00
parent 6273ca1376
commit ada7b452a0
No known key found for this signature in database
48 changed files with 10733 additions and 922 deletions

View file

@ -3,9 +3,9 @@ import flexSearch from "flexsearch";
import type { GameShop, CatalogueEntry, SteamGame } from "@types";
import { getSteamAppAsset } from "@main/helpers";
import { steamGamesWorker } from "@main/workers";
import { RepacksManager } from "@main/services";
import { steamUrlBuilder } from "@shared";
export interface SearchGamesArgs {
query?: string;
@ -19,7 +19,7 @@ export const convertSteamGameToCatalogueEntry = (
objectID: String(game.id),
title: game.name,
shop: "steam" as GameShop,
cover: getSteamAppAsset("library", String(game.id)),
cover: steamUrlBuilder.library(String(game.id)),
repacks: [],
});