Skip to content

Commit

Permalink
Merge pull request #243 from loveridge/bugfix/downloadengine-issue
Browse files Browse the repository at this point in the history
need to await downloadComplete
  • Loading branch information
Jazcash authored Aug 31, 2023
2 parents d05fdf1 + 46d7541 commit 29adac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/api/content/engine-content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export class EngineContentAPI extends AbstractContentAPI<EngineVersion> {
await fs.promises.unlink(downloadFile);

removeFromArray(this.currentDownloads, downloadInfo);
this.downloadComplete(downloadInfo);
await this.downloadComplete(downloadInfo);

return engineName;
}
Expand Down

0 comments on commit 29adac0

Please sign in to comment.