mychanges

This commit is contained in:
Olivier Gagnon
2021-12-22 16:15:56 -05:00
parent ea0be338e1
commit d2d6c33fc8
3 changed files with 11 additions and 13 deletions

View File

@@ -26,7 +26,7 @@ require("http")
});
});
})
.listen(9990);
.listen(9990, "127.0.0.1");
function createWindow(killall) {
win = new BrowserWindow({
@@ -143,11 +143,10 @@ function setStopProcessHandler(app, window, enabled) {
};
const stopProcessHandler = () => {
if (process.platform !== "darwin") {
app.quit();
// eslint-disable-next-line no-process-exit
process.exit(0);
}
app.isQuiting = true;
app.quit();
// eslint-disable-next-line no-process-exit
process.exit(0);
};
if (enabled) {