mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-21 10:03:56 +00:00
feat: update achievements page
This commit is contained in:
@@ -83,9 +83,9 @@ export const getGameAchievements = async (
|
||||
unlocked: false,
|
||||
unlockTime: null,
|
||||
icongray,
|
||||
};
|
||||
} as GameAchievement;
|
||||
})
|
||||
.sort((a: GameAchievement, b: GameAchievement) => {
|
||||
.sort((a, b) => {
|
||||
if (a.unlocked && !b.unlocked) return -1;
|
||||
if (!a.unlocked && b.unlocked) return 1;
|
||||
if (a.unlocked && b.unlocked) {
|
||||
|
||||
@@ -53,7 +53,7 @@ const getPathFromCracker = (cracker: Cracker) => {
|
||||
if (cracker === Cracker.onlineFix) {
|
||||
return [
|
||||
{
|
||||
folderPath: path.join(publicDocuments, Cracker.onlineFix),
|
||||
folderPath: path.join(publicDocuments, "OnlineFix"),
|
||||
fileLocation: ["Stats", "Achievements.ini"],
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user