Skip to content

fix(citizen-server-impl): scan categories with lexically relative path#3967

Open
D4isDAVID wants to merge 1 commit into
citizenfx:masterfrom
D4isDAVID:resource-scan-symlink
Open

fix(citizen-server-impl): scan categories with lexically relative path#3967
D4isDAVID wants to merge 1 commit into
citizenfx:masterfrom
D4isDAVID:resource-scan-symlink

Conversation

@D4isDAVID
Copy link
Copy Markdown
Contributor

Goal of this PR

Currently, ensureing categories will not start any resources that are a symlink.

How is this PR achieving the goal

Instead of computing the relative path to the absolute directory, use lexically_relative without computing the symlink. This means the path that will be scanned for categories would always be inside the resources root.

This PR applies to the following area(s)

Server

Successfully tested on

Platforms: Windows

Checklist

  • Code compiles and has been tested successfully.
  • Code explains itself well and/or is documented.
  • My commit message explains what the changes do and what they are for.
  • No extra compilation warnings are added by these changes.

Fixes issues

@github-actions github-actions Bot added the invalid Requires changes before it's considered valid and can be (re)triaged label May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

invalid Requires changes before it's considered valid and can be (re)triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant