Skip to content
Snippets Groups Projects
Commit d8b24a07 authored by Saúl Ibarra Corretgé's avatar Saúl Ibarra Corretgé
Browse files

Fix Chrome sandbox on Linux AppImage builds

parent 4546d718
No related branches found
No related tags found
Loading
...@@ -20,11 +20,12 @@ matrix: ...@@ -20,11 +20,12 @@ matrix:
- g++-4.8 - g++-4.8
- gcc-4.8 - gcc-4.8
cache: before_script:
directories: - | # Fix chrome-sandbox: https://github.com/electron/electron/issues/17972
- node_modules if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
- $HOME/.cache/electron echo "Fixing chrome-sandbox permissions..."
- $HOME/.cache/electron-builder sudo chown root ./node_modules/electron/dist/chrome-sandbox
sudo chmod 4755 ./node_modules/electron/dist/chrome-sandbox
fi
script: script:
- npm run dist - npm run dist
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment