feat: logs

This commit is contained in:
Zamitto 2024-10-01 11:08:08 -03:00
parent f6ce6eddb8
commit 92b0ced08a

View File

@ -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<string, AchievementFile[]>,
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<string, AchievementFile[]>();
const crackers = [