From 07bc9c24d78f69d4da7eb25a55d429b58d7f5a40 Mon Sep 17 00:00:00 2001 From: Erick Zhao Date: Thu, 4 Jul 2024 15:57:05 -0400 Subject: [PATCH] Update README.md --- config/makers/README.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/config/makers/README.md b/config/makers/README.md index f3d4681..35b4850 100644 --- a/config/makers/README.md +++ b/config/makers/README.md @@ -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. + }) } ] };