Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Commit

Permalink
Revert to electron@9.0.0-beta.22 until code signature issue is resolv…
Browse files Browse the repository at this point in the history
  • Loading branch information
pfrazee committed May 12, 2020
1 parent 2884d36 commit cb8e9ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "beakerbrowser",
"devDependencies": {
"browserify": "^16.0.0",
"electron": "9.0.0-beta.24",
"electron": "9.0.0-beta.22",
"electron-builder": "^22.6.0",
"eslint": "^4.5.0",
"eslint-plugin-import": "^2.7.0",
Expand Down
4 changes: 2 additions & 2 deletions scripts/tasks/rebuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function runAsync (...args) {

const MODULES_NEEDING_REBUILD = ['sqlite3', 'sodium-native']

//(cd app && HOME=~/.electron-gyp npm rebuild --runtime=electron --target=9.0.0-beta.24 --disturl=https://atom.io/download/atom-shell --build-from-source); gulp build
//(cd app && HOME=~/.electron-gyp npm rebuild --runtime=electron --target=9.0.0-beta.22 --disturl=https://atom.io/download/atom-shell --build-from-source); gulp build

gulp.task('rebuild', gulp.series(async () => {
// TODO read electron version
Expand All @@ -27,7 +27,7 @@ gulp.task('rebuild', gulp.series(async () => {
}
env.HOME = path.join(homedir, '.electron-gyp')
for (let mod of MODULES_NEEDING_REBUILD) {
await runAsync(`npm rebuild ${mod} --runtime=electron --target=9.0.0-beta.24 --disturl=https://atom.io/download/atom-shell --build-from-source`, {cwd, env, shell: true})
await runAsync(`npm rebuild ${mod} --runtime=electron --target=9.0.0-beta.22 --disturl=https://atom.io/download/atom-shell --build-from-source`, {cwd, env, shell: true})
}
await runAsync(`npm run build`, {shell: true})
}))

0 comments on commit cb8e9ce

Please sign in to comment.