mirror of
https://github.com/citizenfx/cfx-server-data.git
synced 2025-02-09 06:33:29 +08:00
Fix symlink targets.
Targets are relative from the link, not the current directory.
This commit is contained in:
parent
ab4eccec83
commit
6eaa3525a6
@ -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
|
||||
@ -28,4 +28,4 @@ existing ones - anything goes, as long as you make sure to:
|
||||
2. Not change default behavior without a toggle.
|
||||
3. Use best practices (convars over config files, native commands wherever possible, etc.)
|
||||
|
||||
Modifying or rewriting existing resources in this repository for local use only is _strongly_ discouraged.
|
||||
Modifying or rewriting existing resources in this repository for local use only is _strongly_ discouraged.
|
||||
|
Loading…
Reference in New Issue
Block a user