Skip to content
Permalink
Browse files

Linux: Force --no-sandbox into .desktop file

  • Loading branch information...
scottnonnenberg-signal authored and kenpowers-signal committed Sep 6, 2019
1 parent 35e943e commit 1ca0d821078286d5953cf0d598e6b97710f816ef
Showing with 13 additions and 0 deletions.
  1. +13 −0 patches/app-builder-lib+21.2.0.patch
@@ -0,0 +1,13 @@
diff --git a/node_modules/app-builder-lib/out/targets/LinuxTargetHelper.js b/node_modules/app-builder-lib/out/targets/LinuxTargetHelper.js
index b4533a9..13241f5 100644
--- a/node_modules/app-builder-lib/out/targets/LinuxTargetHelper.js
+++ b/node_modules/app-builder-lib/out/targets/LinuxTargetHelper.js
@@ -129,7 +129,7 @@ class LinuxTargetHelper {
exec = `"${exec}"`;
}

- exec += " %U";
+ exec += " --no-sandbox %U";
}

const desktopMeta = Object.assign({

1 comment on commit 1ca0d82

@mthld

This comment has been minimized.

Copy link

commented on 1ca0d82 Sep 8, 2019

What a poor way to handle Electron v5 new security design... 😩

Please sign in to comment.
You can’t perform that action at this time.