diff --git a/src/main/main.ts b/src/main/main.ts index 6794c204..a680c824 100644 --- a/src/main/main.ts +++ b/src/main/main.ts @@ -23,7 +23,7 @@ const loadState = async (userPreferences: UserPreferences | null) => { Ludusavi.addManifestToLudusaviConfig(); - HydraApi.setupApi().then(async () => { + await HydraApi.setupApi().then(async () => { await getUserData().catch(() => {}); uploadGamesBatch(); });