From a595294037eda8682b23b3a76e5060e837f86e1d Mon Sep 17 00:00:00 2001 From: 3d-gussner <3d.gussner@gmail.com> Date: Wed, 18 Sep 2019 13:05:38 +0200 Subject: [PATCH 1/2] Documentation update for git-bash ... ... as Linux does not handle spaces in folder names well. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index dc8379f85..8b04c0c97 100644 --- a/README.md +++ b/README.md @@ -123,10 +123,10 @@ _notes: Script and instructions contributed by 3d-gussner. Use at your own risk. - Download and install the 64bit Git version https://git-scm.com/download/win - Also follow these instructions https://gist.github.com/evanwill/0207876c3243bbb6863e65ec5dc3f058 - Download and install 7z-zip from its official website https://www.7-zip.org/ - By default, it is installed under the directory /c/Program Files/7-Zip in Windows 10 + By default, it is installed under the directory /c/Program\ Files/7-Zip in Windows 10 - Run `Git-Bash` under Administrator privilege -- navigate to the directory /c/Program Files/Git/mingw64/bin -- run `ln -s /c/Program Files/7-Zip/7z.exe zip.exe` +- navigate to the directory /c/Program\ Files/Git/mingw64/bin +- run `ln -s /c/Program\ Files/7-Zip/7z.exe zip.exe` #### Compile Prusa-firmware with Git-bash installed - open Git-bash From 2944c3fd59a1c39ecc18b32b39a603d3ee2c4c7b Mon Sep 17 00:00:00 2001 From: 3d-gussner <3d.gussner@gmail.com> Date: Wed, 18 Sep 2019 13:22:47 +0200 Subject: [PATCH 2/2] Add path examples for Non-english Windows As Windows in few languages has different Names for `Users` and `Program Files` added few examples in the documentation. --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8b04c0c97..782ed6f7d 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,9 @@ Now your Ubuntu subsystem is ready to use the automatic `PF-build.sh` script and - Unix and windows have different line endings (LF vs CRLF), try dos2unix to convert - This should fix the `"$'\r': command not found"` error - to install run `apt-get install dos2unix` - +- If your Windows isn't in English the Paths may look different + Example in other languages + - English `/mnt/c/Users//Downloads/Prusa-Firmware-MK3` will be on a German Windows`/mnt/c/Anwender//Downloads/Prusa-Firmware-MK3` #### Compile Prusa-firmware with Ubuntu Linux subsystem installed - open Ubuntu bash - change to your source code folder (case sensitive) @@ -127,7 +129,10 @@ _notes: Script and instructions contributed by 3d-gussner. Use at your own risk. - Run `Git-Bash` under Administrator privilege - navigate to the directory /c/Program\ Files/Git/mingw64/bin - run `ln -s /c/Program\ Files/7-Zip/7z.exe zip.exe` - +- If your Windows isn't in English the Paths may look different + Example in other languages + - English `/mnt/c/Users//Downloads/Prusa-Firmware-MK3` will be on a German Windows`/mnt/c/Anwender//Downloads/Prusa-Firmware-MK3` + - English `ln -s /c/Program\ Files/7-Zip/7z.exe zip.exe` will be on a Spanish Windows `ln -s /c/Archivos\ de\ programa/7-Zip/7z.exe zip.exe` #### Compile Prusa-firmware with Git-bash installed - open Git-bash - change to your source code folder