From 9151c07065e702cb739f3faa1ef78979927e3f37 Mon Sep 17 00:00:00 2001 From: Henry Lee Date: Tue, 29 Jun 2021 20:00:23 +1000 Subject: [PATCH] Fix the installation guide for MacOS The installation guide misses the `cd cocos2d-x` command. Without that, the rest of the commands won't work. In addition, `git submodule update` is covered by `git submodule update --init`, so this command can be omitted. --- en/installation/OSX.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/en/installation/OSX.md b/en/installation/OSX.md index 348c7fb..d692723 100644 --- a/en/installation/OSX.md +++ b/en/installation/OSX.md @@ -25,9 +25,9 @@ cd git clone git@github.com:cocos2d/cocos2d-x.git -git submodule update --init +cd cocos2d-x -git submodule update +git submodule update --init ./download-deps.py ``` @@ -48,4 +48,4 @@ Once everything above works, you can start a new project! To do this, read our document on the **[Cocos Command-line tool](../editors_and_tools/cocosCLTool.md)**. ## Troubleshooting -Please see this [F.A.Q](../faq/macos.md) for troubleshooting help. \ No newline at end of file +Please see this [F.A.Q](../faq/macos.md) for troubleshooting help.