Improve notes regarding symlink handling on Windows

* Mention developer mode
* Use single `git config` command before cloning
This commit is contained in:
Martchus 2023-03-13 19:51:05 +01:00
parent 7b042f32fd
commit 0ec3a6cdfa
1 changed files with 6 additions and 3 deletions

View File

@ -341,15 +341,18 @@ a test instance of Syncthing that does not affect a possibly existing Syncthing
1. Get the sources. For the latest version from Git clone the following repositories:
```
cd "$SOURCES"
git config core.symlinks true # only required on Windows
git clone https://github.com/Martchus/cpp-utilities.git c++utilities
git clone https://github.com/Martchus/qtutilities.git
git clone https://github.com/Martchus/qtforkawesome.git
git clone https://github.com/ForkAwesome/Fork-Awesome.git forkawesome
git clone https://github.com/Martchus/syncthingtray.git
git clone -c core.symlinks=true https://github.com/Martchus/subdirs.git
git clone https://github.com/Martchus/subdirs.git
```
Note that `-c core.symlinks=true` is only required under Windows to handle symlinks correctly.
This requires a recent Git version and a filesystem which supports symlinks (NTFS works).
Note that `git config core.symlinks=true` is only required under Windows to handle symlinks correctly.
This requires a recent Git version and a filesystem which supports symlinks (NTFS works). Additionally,
you need to
[enable Windows Developer Mode](https://learn.microsoft.com/en-us/gaming/game-bar/guide/developer-mode).
If you run into "not found" errors on symlink creation use `git reset --hard` within the repository to
fix this.
2. Configure the build