Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

fixed #1076, #1078 and upgrade electron-builder version #1084

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 5 additions & 5 deletions template/.electron-vue/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ async function build () {

del.sync(['dist/electron/*', '!.gitkeep'])

const tasks = ['main', 'renderer']
const m = new Multispinner(tasks, {
preText: 'building',
postText: 'process'
})
// const tasks = ['main', 'renderer']
// const m = new Multispinner(tasks, {
// preText: 'building',
// postText: 'process'
// })

let results = ''

Expand Down
2 changes: 1 addition & 1 deletion template/.electron-vue/dev-runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function startRenderer () {
quiet: true,
hot: true,
before (app, ctx) {
// app.use(hotMiddleware)
app.use(hotMiddleware)
ctx.middleware.waitUntilValid(() => {
resolve()
})
Expand Down
18 changes: 9 additions & 9 deletions template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,18 +81,18 @@
},
"devDependencies": {
"ajv": "^6.5.0",
"babel-core": "^6.26.3",
"babel-loader": "^7.1.4",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.7.0",
"babel-preset-stage-0": "^6.24.1",
"babel-register": "^6.26.0",
"@babel/core": "^7.14.3",
"babel-loader": "^8.2.2",
"@babel/plugin-transform-runtime": "^7.14.3",
"@babel/preset-env": "^7.14.2",
"@babel/preset-stage-0": "^7.8.3",
"@babel/register": "^7.13.16",
"babel-minify-webpack-plugin": "^0.3.1",
"cfonts": "^2.1.2",
"chalk": "^2.4.1",
"copy-webpack-plugin": "^4.5.1",
"cross-env": "^5.1.6",
"css-loader": "^0.28.11",
"css-loader": "^5.2.4",
"del": "^3.0.0",
"devtron": "^1.4.0",
"electron": "^2.0.4",
Expand All @@ -102,7 +102,7 @@
"electron-packager": "^12.1.0",
"electron-rebuild": "^1.8.1",
{{else}}
"electron-builder": "^20.19.2",
"electron-builder": "^22.10.5",
{{/if_eq}}
{{#eslint}}
"babel-eslint": "^8.2.3",
Expand Down Expand Up @@ -135,7 +135,7 @@
"karma-mocha": "^1.3.0",
"karma-sourcemap-loader": "^0.3.7",
"karma-spec-reporter": "^0.0.32",
"karma-webpack": "^3.0.0",
"karma-webpack": "^4.0.0",
{{/if}}
"listr": "^0.14.3",
{{#if e2e}}
Expand Down