mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-09 03:37:45 +03:00
feat: logs
This commit is contained in:
parent
f6ce6eddb8
commit
92b0ced08a
@ -4,6 +4,10 @@ import { app } from "electron";
|
|||||||
import type { AchievementFile } from "@types";
|
import type { AchievementFile } from "@types";
|
||||||
import { Cracker } from "@shared";
|
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 = (
|
const addGame = (
|
||||||
achievementFiles: Map<string, AchievementFile[]>,
|
achievementFiles: Map<string, AchievementFile[]>,
|
||||||
achievementPath: string,
|
achievementPath: string,
|
||||||
@ -32,10 +36,6 @@ const getObjectIdsInFolder = (path: string) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const findSteamGameAchievementFiles = (objectId?: 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 gameAchievementFiles = new Map<string, AchievementFile[]>();
|
||||||
|
|
||||||
const crackers = [
|
const crackers = [
|
||||||
|
Loading…
Reference in New Issue
Block a user