Skip to content

Commit fdbaab2

Browse files
erickzhaogitbook-bot
authored andcommitted
GITBOOK-200: Update Makers prose
1 parent 4f52218 commit fdbaab2

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

config/makers/README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ description: >-
66

77
# Makers
88

9-
Makers are Electron Forge's way of taking your packaged application and making platform specific distributables like DMG, EXE, or Flatpak files \(amongst others\).
9+
Makers are Electron Forge's way of taking your packaged application and generating platform-specific distributable formats like [dmg.md](dmg.md "mention"), [appx.md](appx.md "mention"), or [flatpak.md](flatpak.md "mention") files (amongst others).
1010

11-
Each maker has to be configured in the `makers` section of your forge configuration with which platforms to run for and the maker specific config. E.g.
11+
Each maker has to be configured in the `makers` section of your Forge configuration. For example:
1212

1313
{% tabs %}
1414
{% tab title="forge.config.js" %}
@@ -33,9 +33,9 @@ module.exports = {
3333
};
3434
```
3535
{% endtab %}
36+
3637
{% tab title="package.json" %}
37-
```jsonc
38-
// If your config is only in package.json:
38+
```json
3939
// Only showing the relevant configuration for brevity
4040
{
4141
"config": {
@@ -56,5 +56,7 @@ module.exports = {
5656
{% endtab %}
5757
{% endtabs %}
5858

59-
Please note that all makers have logical defaults for the `platforms` value so you normally don't need to specify that property.
59+
{% hint style="info" %}
60+
If a Maker supports multiple platforms, you may specify which platforms you want to target. Note that all Makers have logical defaults for the `platforms` value so you normally don't need to specify that property.
61+
{% endhint %}
6062

0 commit comments

Comments
 (0)