mirror of
https://github.com/citizenfx/cfx-server-data.git
synced 2025-12-12 06:14:09 +01:00
Fix symlink targets.
Targets are relative from the link, not the current directory.
This commit is contained in:
@@ -11,13 +11,13 @@ You can also consider using the repository as a submodule + symlink for your own
|
||||
**Linux**:
|
||||
```
|
||||
$ git submodule add https://github.com/citizenfx/cfx-server-data.git vendor/server-data
|
||||
$ ln -s vendor/server-data/resources/ 'resources/[base]/'
|
||||
$ ln -s ../vendor/server-data/resources/ 'resources/[base]/'
|
||||
```
|
||||
|
||||
**Windows**:
|
||||
```
|
||||
> git submodule add https://github.com/citizenfx/cfx-server-data.git vendor/server-data
|
||||
> mklink /d resources\[base] vendor\server-data\resources
|
||||
> mklink /d resources\[base] ..\vendor\server-data\resources
|
||||
```
|
||||
|
||||
## Policy
|
||||
|
||||
Reference in New Issue
Block a user