docs: Updated list numbering (#32991)

* docs: Updated list numbering

The steps to package and distribute an application using electron had incorrect numbering

* Indented text within ordered list sections

* Removed single space

* Fixed indentation
This commit is contained in:
Alvin Philips 2022-03-04 05:05:51 +05:30 committed by GitHub
parent 62366aeb95
commit 41c81ed066
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -463,46 +463,46 @@ The fastest way to distribute your newly created app is using
1. Add Electron Forge as a development dependency of your app, and use its `import` command to set up 1. Add Electron Forge as a development dependency of your app, and use its `import` command to set up
Forge's scaffolding: Forge's scaffolding:
```sh npm2yarn ```sh npm2yarn
npm install --save-dev @electron-forge/cli npm install --save-dev @electron-forge/cli
npx electron-forge import npx electron-forge import
✔ Checking your system ✔ Checking your system
✔ Initializing Git Repository ✔ Initializing Git Repository
✔ Writing modified package.json file ✔ Writing modified package.json file
✔ Installing dependencies ✔ Installing dependencies
✔ Writing modified package.json file ✔ Writing modified package.json file
✔ Fixing .gitignore ✔ Fixing .gitignore
We have ATTEMPTED to convert your app to be in a format that electron-forge understands. We have ATTEMPTED to convert your app to be in a format that electron-forge understands.
Thanks for using "electron-forge"!!! Thanks for using "electron-forge"!!!
``` ```
1. Create a distributable using Forge's `make` command: 2. Create a distributable using Forge's `make` command:
```sh npm2yarn ```sh npm2yarn
npm run make npm run make
> my-electron-app@1.0.0 make /my-electron-app > my-electron-app@1.0.0 make /my-electron-app
> electron-forge make > electron-forge make
✔ Checking your system ✔ Checking your system
✔ Resolving Forge Config ✔ Resolving Forge Config
We need to package your application before we can make it We need to package your application before we can make it
✔ Preparing to Package Application for arch: x64 ✔ Preparing to Package Application for arch: x64
✔ Preparing native dependencies ✔ Preparing native dependencies
✔ Packaging Application ✔ Packaging Application
Making for the following targets: zip Making for the following targets: zip
✔ Making for target: zip - On platform: darwin - For arch: x64 ✔ Making for target: zip - On platform: darwin - For arch: x64
``` ```
Electron Forge creates the `out` folder where your package will be located: Electron Forge creates the `out` folder where your package will be located:
```plain ```plain
// Example for macOS // Example for macOS
out/ out/
├── out/make/zip/darwin/x64/my-electron-app-darwin-x64-1.0.0.zip ├── out/make/zip/darwin/x64/my-electron-app-darwin-x64-1.0.0.zip
├── ... ├── ...
└── out/my-electron-app-darwin-x64/my-electron-app.app/Contents/MacOS/my-electron-app └── out/my-electron-app-darwin-x64/my-electron-app.app/Contents/MacOS/my-electron-app
``` ```