From 588780d632c9db3e5306ec16c825cec04dacc72f Mon Sep 17 00:00:00 2001 From: Nikolai Vincent Vaags Date: Wed, 9 Jul 2025 11:22:14 +0200 Subject: [PATCH] add `ozone-platform-hint=auto` to known flags This allows electron to run natively under wayland --- electron/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electron/main.js b/electron/main.js index 604748f..1c70182 100644 --- a/electron/main.js +++ b/electron/main.js @@ -99,7 +99,7 @@ function getDefaultReticulumConfigDir() { app.whenReady().then(async () => { // get arguments passed to application, and remove the provided application path - const ignoredArguments = ["--no-sandbox"]; + const ignoredArguments = ["--no-sandbox", "--ozone-platform-hint=auto"]; const userProvidedArguments = process.argv.slice(1).filter((arg) => !ignoredArguments.includes(arg)); const shouldLaunchHeadless = userProvidedArguments.includes("--headless");