re open launcher on close as the process stays open in background

This commit is contained in:
Maroxy 2021-10-23 13:10:24 +02:00
parent 8dadb08cd2
commit ad4027da7c

View file

@ -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');
}