Closed Esshahn closed 5 years ago
Duplicate of #47 and maybe #36 ?
closing as petmate now quits
it does? i must’ve fixed it by accidentally:)
or maybe it crashes and then exits.
Yeah, it's indeed fixed and the code handling this makes sense:
app.on('window-all-closed', () => {
app.quit();
});
There are some related issues tracked already, but maybe this is a quick fix:
Problem:
Suggested fixes: a) do not allow to close the main window b) when closing the main window, quit the app completely c) allow to open a new window when window was closed (auto-open with file operations, too)
All three of them would work I guess, and I've seen all of these in other apps as solutions. From UX perspective, I'd go for "b", as this will likely follow the user's initial intention when closing the window.