Skip to content

Commit

Permalink
refs #4191 Use electron-builder to rebuild after install
Browse files Browse the repository at this point in the history
  • Loading branch information
h3poteto committed Mar 10, 2023
1 parent a6a28e5 commit 66e71c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,6 @@ $ sudo apt-get install libfontconfig-dev
# install dependencies
$ yarn install

# You need to rebuild because of better-sqlite3
# Refs: https://github.com/WiseLibs/better-sqlite3/issues/919
$ ./node_modules/.bin/electron-rebuild

# serve with hot reload at localhost:9080
$ yarn run dev
```
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
"pack:main": "webpack --node-env=production --mode production --progress --config .electron-vue/webpack.main.config.js",
"pack:renderer": "webpack --node-env=production --mode production --progress --config .electron-vue/webpack.renderer.config.js",
"typecheck": "tsc -p . --noEmit",
"spec": "NODE_ENV=test jest -u --maxWorkers=3"
"spec": "NODE_ENV=test jest -u --maxWorkers=3",
"postinstall": "electron-builder install-app-deps"
},
"jest": {
"moduleFileExtensions": [
Expand Down Expand Up @@ -120,7 +121,6 @@
"@babel/preset-env": "^7.20.2",
"@babel/register": "^7.21.0",
"@babel/runtime": "7.21.0",
"@electron/rebuild": "^3.2.10",
"@types/auto-launch": "^5.0.2",
"@types/better-sqlite3": "^7.6.3",
"@types/electron-json-storage": "^4.5.0",
Expand Down

0 comments on commit 66e71c3

Please sign in to comment.