From ad4027da7c3f2585456a4bddf64410bd0f7b863f Mon Sep 17 00:00:00 2001 From: Maroxy Date: Sat, 23 Oct 2021 13:10:24 +0200 Subject: [PATCH] re open launcher on close as the process stays open in background --- src/ts/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ts/index.ts b/src/ts/index.ts index 5cf1c60..38396f1 100644 --- a/src/ts/index.ts +++ b/src/ts/index.ts @@ -132,7 +132,7 @@ $(() => { ...process.env, WINEPREFIX: Genshinlib.prefixDir } - }/*, (err: any, stdout: any, stderr: any) => { + }, (err: any, stdout: any, stderr: any) => { console.log(`%c> Game closed`, 'font-size: 16px'); ipcRenderer.invoke('show-window'); @@ -140,7 +140,7 @@ $(() => { console.log(err); console.log(stdout); console.log(stderr); - }*/); + }); ipcRenderer.invoke('hide-window'); }