From 92b0ced08a2437623544f1029d6c4cb5cdaa79e7 Mon Sep 17 00:00:00 2001 From: Zamitto <167933696+zamitto@users.noreply.github.com> Date: Tue, 1 Oct 2024 11:08:08 -0300 Subject: [PATCH] feat: logs --- .../achievements/find-steam-game-achivement-files.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/services/achievements/find-steam-game-achivement-files.ts b/src/main/services/achievements/find-steam-game-achivement-files.ts index e81596b0..369cf61e 100644 --- a/src/main/services/achievements/find-steam-game-achivement-files.ts +++ b/src/main/services/achievements/find-steam-game-achivement-files.ts @@ -4,6 +4,10 @@ import { app } from "electron"; import type { AchievementFile } from "@types"; import { Cracker } from "@shared"; +//TODO: change to a automatized method +const publicDir = path.join("C:", "Users", "Public", "Documents"); +const appData = app.getPath("appData"); + const addGame = ( achievementFiles: Map, achievementPath: string, @@ -32,10 +36,6 @@ const getObjectIdsInFolder = (path: string) => { }; export const findSteamGameAchievementFiles = (objectId?: string) => { - //TODO: change to a automatized method - const publicDir = path.join("C:", "Users", "Public", "Documents"); - const appData = app.getPath("appData"); - const gameAchievementFiles = new Map(); const crackers = [