From 50ddba5eedec76006408dd0a314798f16e4ad2ec Mon Sep 17 00:00:00 2001 From: Erick Zhao Date: Fri, 6 Dec 2024 22:36:23 +0000 Subject: [PATCH] GITBOOK-193: change request with no subject merged in GitBook --- config/makers/pkg.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/makers/pkg.md b/config/makers/pkg.md index a45c018..4b1770e 100644 --- a/config/makers/pkg.md +++ b/config/makers/pkg.md @@ -45,7 +45,7 @@ module.exports = { ``` {% endcode %} -All configuration options are optional, and options are documented in the API docs for [`MakerPkgConfig`](https://js.electronforge.io/interfaces/\_electron\_forge\_maker\_pkg.MakerPKGConfig.html). +All configuration options are optional, and options are documented in the API docs for [`MakerPkgConfig`](https://js.electronforge.io/interfaces/_electron_forge_maker_pkg.MakerPKGConfig.html). ### Adding installation scripts @@ -67,7 +67,7 @@ my-app    └── preinstall ``` -Then, your Forge configuration would need to point to the `./scripts` folder. +Then, configure the Maker point its `scripts` property to the `./scripts` folder.
const path = require('node:path');
 
@@ -76,7 +76,7 @@ module.exports = {
     {
       name: '@electron-forge/maker-pkg',
       config: {
-        install: path.join(__dirname, 'scripts)
+        scripts: path.join(__dirname, 'scripts')
       }
     }
   ]