append --no-sandbox when starting on Linux (fixes #1525)

This commit is contained in:
Eugene Pankov 2020-01-29 14:28:03 +03:00
parent f4f52321f5
commit 1ab528b05c

View File

@ -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}'