From 1ab528b05c817ee64c6bb5a32c013381b99f8a8a Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Wed, 29 Jan 2020 14:28:03 +0300 Subject: [PATCH] append --no-sandbox when starting on Linux (fixes #1525) --- build/linux/after-install.tpl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/build/linux/after-install.tpl b/build/linux/after-install.tpl index a383dc0c..b0eb562e 100644 --- a/build/linux/after-install.tpl +++ b/build/linux/after-install.tpl @@ -1,4 +1,7 @@ #!/bin/bash +cat > '/usr/bin/${executable}' << END +#!/bin/sh +'/opt/${productFilename}/${executable}' --no-sandbox $@ +END -# Link to the binary -ln -sf '/opt/${productFilename}/${executable}' '/usr/bin/${executable}' +chmod +x '/usr/bin/${executable}'