From b8084d6f6785a35c63f0414e773828ce5e3a4da7 Mon Sep 17 00:00:00 2001 From: Zamitto <167933696+zamitto@users.noreply.github.com> Date: Fri, 18 Apr 2025 07:22:01 -0300 Subject: [PATCH] feat: add await to ensure HydraApi is setup before renderer opens window --- src/main/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/main.ts b/src/main/main.ts index f47b01a8..5869ab31 100644 --- a/src/main/main.ts +++ b/src/main/main.ts @@ -32,7 +32,7 @@ export const loadState = async () => { Ludusavi.addManifestToLudusaviConfig(); - HydraApi.setupApi().then(() => { + await HydraApi.setupApi().then(() => { uploadGamesBatch(); });