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

Me generated files aren't working for installing, I have some doubts please #1132

Open
lucaslgr opened this issue Oct 20, 2022 · 1 comment

Comments

@lucaslgr
Copy link

lucaslgr commented Oct 20, 2022

Describe the issue / bug.

#

Hello guys!
I'm using electron-builder through the electron-vue lib (https://github.com/SimulatedGREG/electron-vue).
And following the instructions to build the application in this documentation (https://simulatedgreg.gitbooks.io/electron-vue/content/en/using-electron-builder.html) using the command npm run build are appearing just these two files, one .snap and another .AppImage and I was thinking that should appear one .deb and another .exe for windows at least. Am I wrong?

If visual, provide a screenshot.

#
image

Tell me about your development environment.
  • Node version: 16.15.1
  • NPM version: 8.11.0
  • vue-cli version:
  • vue: 2.6.11
  • vue-cli-plugin-electron-builder: 2.0.0
  • Operating System:

If you are looking to suggest an enhancement or feature, then feel free to remove everything above.

@lucaslgr
Copy link
Author

my package.json

{
  "name": "simulans",
  "version": "1.0.0",
  "private": true,
  "build": {
    "productName": "simulans",
    "appId": "lucaslgr.simulans",
    "dmg": {
      "contents": [
        {
          "x": 410,
          "y": 150,
          "type": "link",
          "path": "/Applications"
        },
        {
          "x": 130,
          "y": 150,
          "type": "file"
        }
      ]
    },
    "directories": {
      "output": "build"
    },
    "files": [
      "dist/electron",
      "node_modules/",
      "package.json"
    ],
    "mac": {
      "icon": "./src/assets/img/simulans-icon.ico"
    },
    "win": {
      "icon": "build/icons/icon.ico"
    },
    "linux": {
      "icon": "build/icons"
    }
  },
  "scripts": {
    "serve": "vue-cli-service serve",
    "build": "vue-cli-service build",
    "lint": "vue-cli-service lint",
    "electron:build": "vue-cli-service electron:build",
    "electron:serve": "vue-cli-service electron:serve --remote-debugging-port=9222",
    "postinstall": "electron-builder install-app-deps",
    "postuninstall": "electron-builder install-app-deps"
  },
  "main": "background.js",
  "dependencies": {
    "anim-event": "^1.0.17",
    "big.js": "^6.1.1",
    "core-js": "^3.6.5",
    "cssprefix": "^2.0.17",
    "eigen": "^0.2.0",
    "fs": "*",
    "fs-extra": "^10.1.0",
    "leader-line": "^1.0.5",
    "lodash.clonedeep": "^4.5.0",
    "m-class-list": "^1.1.10",
    "plain-draggable": "^2.5.14",
    "plotly.js-dist-min": "^2.6.3",
    "plotly.js-locales": "^2.8.1",
    "pointer-event": "^1.0.2",
    "vue": "^2.6.11",
    "vue-router": "^3.0.3",
    "vuex": "^3.4.0"
  },
  "devDependencies": {
    "@vue/cli-plugin-babel": "~4.5.0",
    "@vue/cli-plugin-eslint": "^3.1.1",
    "@vue/cli-plugin-vuex": "~4.5.0",
    "@vue/cli-service": "^3.0.5",
    "@vue/eslint-config-prettier": "^6.0.0",
    "babel-eslint": "^10.1.0",
    "electron": "^13.0.1",
    "electron-devtools-installer": "^3.1.0",
    "eslint": "^6.7.2",
    "eslint-plugin-prettier": "^3.3.1",
    "eslint-plugin-vue": "^6.2.2",
    "prettier": "^2.2.1",
    "skeleton-loader": "^2.0.0",
    "vue-cli-plugin-electron-builder": "~2.0.0",
    "vue-template-compiler": "^2.6.11"
  },
  "eslintConfig": {
    "root": true,
    "env": {
      "node": true
    },
    "extends": [
      "plugin:vue/essential",
      "eslint:recommended",
      "@vue/prettier"
    ],
    "parserOptions": {
      "parser": "babel-eslint"
    },
    "rules": {
      "prettier/prettier": 0
    }
  },
  "browserslist": [
    "> 1%",
    "last 2 versions",
    "not dead"
  ]
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant