[desktop] Pass the SUID workaround correctly
The flag itself is documented as supported: https://www.electronjs.org/docs/latest/api/command-line-switches I was just passing it incorrectly (hopefully).
This commit is contained in:
parent
8328bbe5be
commit
5b92133aae
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ const registerPrivilegedSchemes = () => {
|
|||
* See: https://github.com/electron/electron/issues/17972
|
||||
*/
|
||||
const suidWorkaroundOnLinux = () =>
|
||||
process.platform == "linux" && app.commandLine.appendSwitch("--no-sandbox");
|
||||
process.platform == "linux" && app.commandLine.appendSwitch("no-sandbox");
|
||||
|
||||
/**
|
||||
* Create an return the {@link BrowserWindow} that will form our app's UI.
|
||||
|
|
Loading…
Reference in a new issue