Giter Site home page Giter Site logo

Comments (4)

chetbox avatar chetbox commented on August 23, 2024

Thank you @abulka! This is the most useful documentation I have found for maker config in 2021.

from electron-forge-docs.

chetbox avatar chetbox commented on August 23, 2024

Update: I found some helpful documentation here but I was thrown off by the out-of-date documentation on nmpjs.com: https://www.npmjs.com/package/electron-forge

from electron-forge-docs.

 avatar commented on August 23, 2024

My Migration Notes

For my own project, I migrated by kind of figuring it out. I like the new format better. Here is what I did to my package.json:

  • Renamed electronPackagerConfig -> packagerConfig
  • Removed make_targets, electronRebuildConfig and all the electronInstaller*entries and replaced them with a single makers entry e.g.
 "config": {
    "forge": {

      "makers": [
        {
          "name": "@electron-forge/maker-squirrel",
          "config": {
            "name": "myproject"
          }
        },
        {
          "name": "@electron-forge/maker-zip",
          "platforms": [
            "darwin"
          ]
        },
        {
          "name": "@electron-forge/maker-deb",
          "config": {},
          "platforms": [
            "linux"
          ]
        },
        {
          "name": "@electron-forge/maker-rpm",
          "config": {}
        }
      ]

In addition, for what its worth, I read all the config examples for all the makers and compiled this list of possible keywords in each makers object:

- name
- platforms  (a list of strings)
- config 
    - name
    - background
    - format
    - options
        - maintainer
        - homepage
        - categories
        - mimeType
        - keychain
    - features
        - audio
        - mpris
        - webgl
    - summary
    - certificateFile
    - certificatePassword

Many thanks for this documentation! I don't understand why they never keep the documentations updated.

from electron-forge-docs.

erickzhao avatar erickzhao commented on August 23, 2024

I think we caught most of these problems in the v6.0.0 stable release. Please open an issue (or submit a PR) if you find any new problems!

from electron-forge-docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.