Skip to content

Commit

Permalink
Linux: Force --no-sandbox into .desktop file
Browse files Browse the repository at this point in the history
  • Loading branch information
scottnonnenberg-signal authored and kenpowers-signal committed Sep 6, 2019
1 parent 35e943e commit 1ca0d82
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions 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({

2 comments on commit 1ca0d82

@zx2c4
Copy link

@zx2c4 zx2c4 commented on 1ca0d82 Jun 26, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@scottnonnenberg-signal What's with this?

@DonW16
Copy link

@DonW16 DonW16 commented on 1ca0d82 Feb 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not a proper solution and stinks of CIA.

Please sign in to comment.