feat: add rle folder

This commit is contained in:
Zamitto 2024-10-05 22:43:05 -03:00
parent 002028130b
commit 57118ec5b9
2 changed files with 14 additions and 0 deletions

View File

@ -150,6 +150,19 @@ const getPathFromCracker = async (cracker: Cracker) => {
];
}
if (cracker == Cracker.rle) {
return [
{
folderPath: path.join(appData, "RLE"),
fileLocation: ["achievements.ini"],
},
{
folderPath: path.join(appData, "RLE"),
fileLocation: ["Achievements.ini"],
},
];
}
achievementsLogger.error(`Cracker ${cracker} not implemented`);
throw new Error(`Cracker ${cracker} not implemented`);
};

View File

@ -37,4 +37,5 @@ export enum Cracker {
smartSteamEmu = "SmartSteamEmu",
_3dm = "3dm",
flt = "FLT",
rle = "RLE",
}