Fix Chrome sandbox on Linux AppImage builds
This commit is contained in:
parent
4546d718e3
commit
d8b24a075c
13
.travis.yml
13
.travis.yml
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue