fivem
fivem copied to clipboard
fix(fxd): detect problematic characters in working directory path that break the script
Goal of this PR
Prevent the script from breaking when the working directory contains problematic characters by detecting and warning the user
How is this PR achieving the goal
Adds a check for special characters in the current working directory path that cause powershell script parsing errors, highlights the characters, and asl the user to move or rename the folder
This PR applies to the following area(s)
fxd tool
Successfully tested on
Platforms: Windows
Checklist
- [x] Code compiles and has been tested successfully.
- [x] Code explains itself well and/or is documented.
- [x] My commit message explains what the changes do and what they are for.
- [x] No extra compilation warnings are added by these changes.
Fixes issues
Cant find related issues