mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-04-27 16:10:32 +00:00
Merge pull request #89 from kujeger/wayland_flag
add `ozone-platform-hint=auto` to known flags
This commit is contained in:
commit
b5a54dd120
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ function getDefaultReticulumConfigDir() {
|
||||||
app.whenReady().then(async () => {
|
app.whenReady().then(async () => {
|
||||||
|
|
||||||
// get arguments passed to application, and remove the provided application path
|
// 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 userProvidedArguments = process.argv.slice(1).filter((arg) => !ignoredArguments.includes(arg));
|
||||||
const shouldLaunchHeadless = userProvidedArguments.includes("--headless");
|
const shouldLaunchHeadless = userProvidedArguments.includes("--headless");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue