Skip to content

Commit

Permalink
Fix patching linux sandbox support
Browse files Browse the repository at this point in the history
  • Loading branch information
saghul committed Apr 14, 2020
1 parent fe25c0f commit 583ab0b
Show file tree
Hide file tree
Showing 3 changed files with 85 additions and 6 deletions.
5 changes: 0 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,5 @@ matrix:
- libpng-dev
- libxtst-dev

before_script:
- | # Disable sandbox: https://github.com/electron/electron/issues/17972
if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
patch -p1 -i patches/app-builder-lib+22.3.6.patch
fi
script:
- npm run dist
83 changes: 83 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"build": "webpack --config ./webpack.main.js --mode production && webpack --config ./webpack.renderer.js --mode production",
"pack": "npm run build && electron-builder --dir",
"dist": "npm run build && electron-builder",
"postinstall": "electron-builder install-app-deps",
"postinstall": "patch-package && electron-builder install-app-deps",
"validate": "npm ls",
"watch": "webpack --config ./webpack.renderer.js --mode development --watch --watch-poll"
},
Expand Down Expand Up @@ -137,6 +137,7 @@
"file-loader": "6.0.0",
"flow-bin": "0.109.0",
"html-webpack-plugin": "4.0.4",
"patch-package": "6.2.2",
"precommit-hook": "3.0.0",
"style-loader": "1.1.3",
"svg-inline-loader": "0.8.2",
Expand Down

0 comments on commit 583ab0b

Please sign in to comment.