add electron-update to background.ts
This commit is contained in:
parent
62a4311828
commit
662fc591c3
4 changed files with 60 additions and 30 deletions
17
package.json
17
package.json
|
|
@ -9,29 +9,27 @@
|
|||
},
|
||||
"main": "./src/background.ts",
|
||||
"scripts": {
|
||||
"dev": "yarn electron:serve",
|
||||
"dev": "vue-cli-service electron:serve",
|
||||
"serve": "vue-cli-service serve",
|
||||
"build": "vue-cli-service build",
|
||||
"build": "electron-builder --win",
|
||||
"test:unit": "vue-cli-service test:unit",
|
||||
"lint": "vue-cli-service lint",
|
||||
"electron:build": "vue-cli-service electron:build",
|
||||
"electron:serve": "vue-cli-service electron:serve",
|
||||
"postinstall": "electron-builder install-app-deps",
|
||||
"postuninstal": "electron-builder install-app-deps",
|
||||
"dist":"electron-builder --publish always",
|
||||
"dev": "vue-cli-service electron:serve",
|
||||
"build": "electron-builder --win"
|
||||
"dist": "electron-builder --publish always"
|
||||
},
|
||||
"repository": {
|
||||
"type" : "git",
|
||||
"url" : "https://gitlab.com/crimata/electron-app.git",
|
||||
"type": "git",
|
||||
"url": "https://gitlab.com/crimata/electron-app.git",
|
||||
"release": "latest"
|
||||
},
|
||||
"build": {
|
||||
"artifactName": "${productName}-${version}.${ext}",
|
||||
"publish": {
|
||||
"provider": "generic",
|
||||
"url": "https://gitlab.com/api/v4/projects/25637892/jobs/artifacts/master/raw/dist?job=build"
|
||||
"provider": "generic",
|
||||
"url": "https://gitlab.com/api/v4/projects/25637892/jobs/artifacts/master/raw/dist?job=build"
|
||||
},
|
||||
"win": {
|
||||
"target": [
|
||||
|
|
@ -84,6 +82,7 @@
|
|||
"@wasm-tool/wasm-pack-plugin": "^1.3.1",
|
||||
"electron": "^9.0.0",
|
||||
"electron-devtools-installer": "^3.1.0",
|
||||
"electron-log": "^4.3.4",
|
||||
"eslint": "^6.7.2",
|
||||
"eslint-plugin-vue": "^7.0.0-0",
|
||||
"lint-staged": "^9.5.0",
|
||||
|
|
|
|||
Loading…
Reference in a new issue