Skip to content

Commit

Permalink
chore(package): upgrade electron-builder
Browse files Browse the repository at this point in the history
  • Loading branch information
nklayman committed Aug 3, 2019
1 parent e98f3aa commit 55ed677
Show file tree
Hide file tree
Showing 3 changed files with 130 additions and 188 deletions.
4 changes: 3 additions & 1 deletion __tests__/createProject.helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ const createProject = (projectName, useTS, customPlugins = {}) =>
}
// Install vcp-electron-builder
preset.plugins['vue-cli-plugin-electron-builder'] = {
electronBuilder: { electronVersion: '^5.0.0' }
// electron-builder requires that an exact version of electron is provided,
// unless electron is already installed
electronBuilder: { electronVersion: '5.0.7' }
}
preset.plugins = { ...preset.plugins, ...customPlugins }
const projectPath = p =>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"private": false,
"dependencies": {
"chokidar": "^3.0.2",
"electron-builder": "^20.29.0",
"electron-builder": "^21.2.0",
"execa": "^1.0.0",
"friendly-errors-webpack-plugin": "^1.7.0",
"fs-extra": "^8.1.0",
Expand Down
Loading

0 comments on commit 55ed677

Please sign in to comment.