Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[desktop] Pass the SUID workaround correctly

Manav Rathi5b92133aae9f
diff --git a/desktop/src/main.ts b/desktop/src/main.ts
index 7bfdb3311d..15eb9ddc92 100644
--- a/desktop/src/main.ts
+++ b/desktop/src/main.ts
@@ -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.