From 6553ee99653c3f2d3e3a2d728ee20a48365e0e58 Mon Sep 17 00:00:00 2001 From: Maroxy Date: Sun, 17 Oct 2021 00:14:59 +0200 Subject: [PATCH] Move notification send --- src/ts/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ts/index.ts b/src/ts/index.ts index e26e59b..82f6d7b 100644 --- a/src/ts/index.ts +++ b/src/ts/index.ts @@ -237,8 +237,8 @@ $(() => { Genshinlib.applyPatch(() => { LauncherUI.setState('game-launch-available'); + ipcRenderer.send('notification', { title: document.title, content: 'Finished downloading game.' }); }, (data) => console.log(data.toString())); - ipcRenderer.send('notification', { title: document.title, content: 'Finished downloading game.' }); } // Patch is not available