Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
Fix trophy scanner
Browse files Browse the repository at this point in the history
  • Loading branch information
igor725 committed May 31, 2024
1 parent efc64a4 commit 9530068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ const main = (userdir = __dirname) => {
for (let i = paths.length - 1; i >= 0; --i) {
try {
const apath = path.join(paths[i], SCE_TROPHY_PATH);
fs.readdirSync(apath).forEach((name) => files[name] = path.join(apath, name));
fs.readdirSync(apath).filter((name) => name.endsWith('.trp')).forEach((name) => files[name] = path.join(apath, name));
} catch (e) {
console.error('Failed to readdir: ', e.toString());
}
Expand Down

0 comments on commit 9530068

Please sign in to comment.