Only hide window onblur when in production

This commit is contained in:
GHOSCHT 2021-06-30 16:13:44 +02:00
parent 3d0ea6b417
commit fe32c11760

View file

@ -90,7 +90,9 @@ app.on("activate", () => {
// Hide window when out of focus
app.on("browser-window-blur", () => {
if (!isDev) {
mainWindow.hide();
}
});
// In this file you can include the rest of your app's specific main process