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

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
pfrazee committed May 20, 2020
1 parent 2e4fc48 commit 63da273
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",
"electron-builder": "^22.6.0",
"electron-notarize": "^0.3.0",
"eslint": "^4.5.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']

//(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 --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 --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 63da273

Please sign in to comment.