Commit dc1a4e2c authored by jy1263's avatar jy1263

Update module.srxd.js

parent c90d62b6
......@@ -111,7 +111,7 @@ class SRXD {
let filePathJoined = path.join(filePath, fileName);
let files = glob.sync(filePathJoined+"*");
if (files[0] != undefined){return [path.parse(files[0]).base];}
else {return [''];}
else {return [];}
}
getSongCover(fileName) {
let fileExtension = this.getFileExtension(fileName, path.join(userSettings.get('gameDirectory'), "AlbumArt") );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment