From cdc95f469bc036311850b826b965655893ef126a Mon Sep 17 00:00:00 2001 From: robbryandev Date: Mon, 2 Jun 2025 18:39:11 -0700 Subject: [PATCH] Don't define browserWindowOptions type as splash if desktop environment is kde --- app/main/createWindow.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/main/createWindow.js b/app/main/createWindow.js index d4420260..45eb1374 100644 --- a/app/main/createWindow.js +++ b/app/main/createWindow.js @@ -36,7 +36,8 @@ export default ({ src, isDev }) => { // Show main window on launch only when application started for the first time } - if (process.platform === 'linux') { + const isKde = process.env.KDE_FULL_SESSION === "true" + if (process.platform === 'linux' && !isKde) { browserWindowOptions.type = 'splash' }