diff --git a/electron/main.js b/electron/main.js index 853dbee..edd8bc2 100644 --- a/electron/main.js +++ b/electron/main.js @@ -99,7 +99,9 @@ function getDefaultReticulumConfigDir() { app.whenReady().then(async () => { // get arguments passed to application, and remove the provided application path - const userProvidedArguments = process.argv.slice(1); + const ignoredArguments = ["--no-sandbox"]; + const userProvidedArguments = process.argv.slice(1) + .filter(arg => !ignoredArguments.includes(arg)); const shouldLaunchHeadless = userProvidedArguments.includes("--headless"); if(!shouldLaunchHeadless){