From 46f9aac66aedf51fa0e49bf5027d62d2ff453919 Mon Sep 17 00:00:00 2001 From: Gonzalo Pesquero Date: Sun, 18 Dec 2022 23:50:31 +0100 Subject: [PATCH] [docs] Add instructions to avoid symlink problems under Windows Signed-off-by: Gonzalo Pesquero --- docs/INSTALL.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/INSTALL.md b/docs/INSTALL.md index 047a354347..02f5b76ed7 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -16,7 +16,11 @@ For _Windows_ you need to have [Git for Windows](https://git-scm.com/download/wi First of all get the source code. The full Organic Maps sources repository is ~8.5Gb in size, there are various [clone options](#special-cases-options) to reduce download size to suit your needs. -For _Windows_, enable [symlinks](https://git-scm.com/docs/git-config#Documentation/git-config.txt-coresymlinks) support in git first. The easiest way is to reinstall the latest [Git for Windows](https://gitforwindows.org/) with the "Enable Symlinks" checkbox checked. If you don't want to reinstall Git, then you can add `-c core.symlinks=true` parameter to the clone command below to enable symlinks for the repository. +For _Windows_, it's necessary to enable symlinks support: +1. Activate _Windows Development Mode_ to enable symlinks globally: + - Windows 10: _Settings_ -> _Update and Security_ -> _For Developers_ -> _Activate Developer Mode_ + - Windows 11: _Settings_ -> _Privacy and Security_ -> _For Developers_ -> _Activate Developer Mode_ +2. Enable [symlinks](https://git-scm.com/docs/git-config#Documentation/git-config.txt-coresymlinks) support in git. The easiest way is to reinstall the latest [Git for Windows](https://gitforwindows.org/) with the "Enable Symlinks" checkbox checked. If you don't want to reinstall Git, then you can add `-c core.symlinks=true` parameter to the clone command below to enable symlinks for the repository. ```bash git config --global core.symlinks true