mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-12-19 16:33:04 +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,
|
...process.env,
|
||||||
WINEPREFIX: Genshinlib.prefixDir
|
WINEPREFIX: Genshinlib.prefixDir
|
||||||
}
|
}
|
||||||
}/*, (err: any, stdout: any, stderr: any) => {
|
}, (err: any, stdout: any, stderr: any) => {
|
||||||
console.log(`%c> Game closed`, 'font-size: 16px');
|
console.log(`%c> Game closed`, 'font-size: 16px');
|
||||||
|
|
||||||
ipcRenderer.invoke('show-window');
|
ipcRenderer.invoke('show-window');
|
||||||
|
@ -140,7 +140,7 @@ $(() => {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
console.log(stdout);
|
console.log(stdout);
|
||||||
console.log(stderr);
|
console.log(stderr);
|
||||||
}*/);
|
});
|
||||||
|
|
||||||
ipcRenderer.invoke('hide-window');
|
ipcRenderer.invoke('hide-window');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue