diff --git a/.github/workflows/desktop.yml b/.github/workflows/desktop.yml index 5b99d9b..af135f8 100644 --- a/.github/workflows/desktop.yml +++ b/.github/workflows/desktop.yml @@ -31,4 +31,4 @@ jobs: release: ${{ startsWith(github.ref, 'refs/tags/v') }} package_root: "./frontend" use_vue_cli: true - args: "-c.snap.publish=github" \ No newline at end of file + args: "-c.snap.publish=github --publish always" diff --git a/frontend/package.json b/frontend/package.json index 568f214..aef9d47 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -3,34 +3,16 @@ "version": "1.0.15", "private": true, "author": "Troplo ", - "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", diff --git a/frontend/vue.config.js b/frontend/vue.config.js index cd49f5f..5b31e76 100644 --- a/frontend/vue.config.js +++ b/frontend/vue.config.js @@ -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 },