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