diff --git a/src/main/main.ts b/src/main/main.ts index 81d4f53f..147ed7dd 100644 --- a/src/main/main.ts +++ b/src/main/main.ts @@ -60,7 +60,9 @@ export const loadState = async () => { void syncDownloadSourcesFromApi(); // Check for new download options on startup (if enabled) - void DownloadSourcesChecker.checkForChanges(); + (async () => { + await DownloadSourcesChecker.checkForChanges(); + })(); WSClient.connect(); });