mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-04-27 16:10:32 +00:00
don't show crash log when exit cleanly
This commit is contained in:
parent
79d0585a21
commit
5c49e78204
1 changed files with 5 additions and 0 deletions
|
|
@ -167,6 +167,11 @@ app.whenReady().then(async () => {
|
|||
// quit electron app if exe dies
|
||||
exeChildProcess.on('exit', async function(code) {
|
||||
|
||||
// if no exit code provided, we wanted exit to happen, so do nothing
|
||||
if(code == null){
|
||||
return;
|
||||
}
|
||||
|
||||
// show crash log
|
||||
const stdout = stdoutLines.join("");
|
||||
const stderr = stderrLines.join("");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue