Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
erickzhao authored Jul 4, 2024
1 parent 8e3dc53 commit 07bc9c2
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions config/makers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,20 +35,21 @@ Each maker has to be configured in the `makers` section of your forge configurat

{% tab title="forge.config.js" %}
```javascript
// If you have set config.forge to a JavaScript file path in package.json:
// Only showing the relevant configuration for brevity
module.exports = {
makers: [
{
name: '@electron-forge/maker-zip',
platforms: ['darwin', 'linux'],
config: {
// Config here
}
// can also be a function taking the currently built arch as a parameter and returning a config object, e.g.
//config: (arch) => ({
// ...
//})
//
}
},
{
name: '@electron-forge/maker-dmg',
platforms: ['darwin'],
config: (arch) => ({
// can also be a function taking the currently built arch as a parameter and returning a config object, e.g.
})
}
]
};
Expand Down

0 comments on commit 07bc9c2

Please sign in to comment.