From 8c53af6ae578eb6a731fd59ab23389546aa7ce4e Mon Sep 17 00:00:00 2001 From: Erick Zhao Date: Thu, 7 Sep 2023 15:36:48 -0700 Subject: [PATCH] chore: undocument `npm install -g` (#3314) --- README.md | 9 --------- packages/api/core/src/api/init-scripts/find-template.ts | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/README.md b/README.md index 34d3fd64d6..415a3d4528 100644 --- a/README.md +++ b/README.md @@ -50,15 +50,6 @@ cd my-new-app npm start ``` -Alternatively (less recommended): - -```bash -npm install -g @electron-forge/cli -electron-forge init my-new-app -cd my-new-app -npm start -``` - For more information on creating a new project from a template, [see our CLI documentation](https://www.electronforge.io/cli). # Docs and Usage diff --git a/packages/api/core/src/api/init-scripts/find-template.ts b/packages/api/core/src/api/init-scripts/find-template.ts index 17d25d8e79..cd9cef7058 100644 --- a/packages/api/core/src/api/init-scripts/find-template.ts +++ b/packages/api/core/src/api/init-scripts/find-template.ts @@ -32,7 +32,7 @@ export const findTemplate = async (dir: string, template: string): Promise