mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-12-23 18:20:19 +03:00
re open launcher on close as the process stays open in background
This commit is contained in:
parent
8dadb08cd2
commit
ad4027da7c
1 changed files with 2 additions and 2 deletions
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue