fixed desktop downloaded file had extra dot in name

This commit is contained in:
Abhinav 2023-10-30 08:23:37 +05:30
parent 4b08fd4aa1
commit b5aef36a5a

View file

@ -58,7 +58,7 @@ export function getUniqueSavePath(filename: string, directory: string): string {
extension,
]
.filter((x) => x) // filters out undefined/null values
.join('.');
.join('');
uniqueFileSavePath = path.join(directory, fileNameWithNumberedSuffix);
}
return uniqueFileSavePath;