fix: prevent processing downloads without a folder name

This commit is contained in:
Moyasee
2026-01-19 04:22:44 +02:00
parent 98cfe7be98
commit c9801644ac

View File

@@ -175,9 +175,13 @@ export class GameFilesManager {
return;
}
if (!download.folderName) {
return;
}
const gameFolderPath = path.join(
download.downloadPath,
download.folderName!
download.folderName
);
if (!fs.existsSync(gameFolderPath)) {