This commit is contained in:
Troplo 2022-08-03 21:26:42 +10:00
parent 3191b665a3
commit c7d97ee57b
3 changed files with 19 additions and 21 deletions

View file

@ -31,4 +31,4 @@ jobs:
release: ${{ startsWith(github.ref, 'refs/tags/v') }}
package_root: "./frontend"
use_vue_cli: true
args: "-c.snap.publish=github"
args: "-c.snap.publish=github --publish always"

View file

@ -3,34 +3,16 @@
"version": "1.0.15",
"private": true,
"author": "Troplo <troplo@troplo.com>",
"build": {
"appId": "com.troplo.colubrina",
"win": {
"publish": [
"github"
]
},
"linux": {
"publish": [
"github"
]
},
"mac": {
"publish": [
"github"
]
}
},
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint",
"electron:build": "vue-cli-service electron:build -c.snap.publish=github",
"electron:build": "vue-cli-service electron:build",
"electron:serve": "vue-cli-service electron:serve",
"postinstall": "patch-package && electron-builder install-app-deps",
"postuninstall": "electron-builder install-app-deps"
},
"main": "./src/background.js",
"main": "./background.js",
"repository": "https://github.com/Troplo/Colubrina",
"dependencies": {
"@babel/preset-env": "^7.17.10",

View file

@ -89,6 +89,22 @@ module.exports = {
})
},
productionSourceMap: true,
pluginOptions: {
electronBuilder: {
builderOptions: {
appId: "com.troplo.colubrina",
win: {
publish: ["github"]
},
linux: {
publish: ["github"]
},
mac: {
publish: ["github"]
}
}
}
},
configureWebpack: {
plugins
},